TDLib v0.0.2 TDLib.Method.JoinChatByInviteLink View Source

Uses an invite link to add the current user to the chat if possible. The new member will not be added until the chat state has been synchronized with the server. Returns object_ptr.

NameTypeDescription
invite_linkstringInvite link to import; should begin with “<a href=”https://t.me/joinchat/“,”>https://t.me/joinchat/", “<a href=”https://telegram.me/joinchat/“,”>https://telegram.me/joinchat/", or “<a href=”https://telegram.dog/joinchat/“”>https://telegram.dog/joinchat/".

More details on telegram’s documentation.