Explain how to check a link without joining

Lonami 2017-07-11 18:19:56 +02:00
parent db39e094f8
commit 3604433ebb

@ -37,3 +37,7 @@ client(AddChatUserRequest(
fwd_limit=10 # allow the user to see the 10 last messages
))
```
## 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.