Join a channel or supergroup
When using with invite links, this method may throw RPC error INVITE_REQUEST_SENT, which means that you need to wait for admin approval. You will get into the chat once they do so.
INVITE_REQUEST_SENT
Chat identifier. Either an invite link (t.me/joinchat/*), a username (@username) or ID of the linked supergroup or channel.
t.me/joinchat/*
@username
Join a channel or supergroup
When using with invite links, this method may throw RPC error
INVITE_REQUEST_SENT
, which means that you need to wait for admin approval. You will get into the chat once they do so.