diff --git a/Joining-a-chat-or-channel.md b/Joining-a-chat-or-channel.md index cff8f07..0a31166 100644 --- a/Joining-a-chat-or-channel.md +++ b/Joining-a-chat-or-channel.md @@ -36,4 +36,8 @@ client(AddChatUserRequest( user_to_add, fwd_limit=10 # allow the user to see the 10 last messages )) -``` \ No newline at end of file +``` + +## Checking a link without joining + +If you don't need to join but rather check whether it's a group or a channel, you can use the [`CheckChatInviteRequest`](https://lonamiwebs.github.io/Telethon/methods/messages/check_chat_invite.html), which takes in the [hash](https://github.com/LonamiWebs/Telethon/wiki/Joining-a-chat-or-channel#joining-a-private-chat-or-channel) of said channel or group. \ No newline at end of file