mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Explain how to check a link without joining
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.
|
Loading…
Reference in New Issue
Block a user