libtd-ktx / kotlinx.telegram.coroutines / checkChatInviteLink
checkChatInviteLink
suspend fun
TelegramFlow
.checkChatInviteLink(inviteLink:
String
?):
ChatInviteLinkInfo
Suspend function, which checks the validity of an invite link for a chat and returns information about the corresponding chat.
Parameters
inviteLink
- Invite link to be checked; should begin with
"https://t.me/joinchat/", "https://telegram.me/joinchat/", or
"https://telegram.dog/joinchat/".
Return ChatInviteLinkInfo Contains information about a chat invite link.