mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Update example
This commit is contained in:
@@ -84,7 +84,7 @@ Here some examples:
|
||||
|
||||
client.send(
|
||||
functions.channels.InviteToChannel(
|
||||
channel=client.resolve_peer(123456789), # ID or Username of your channel
|
||||
channel=client.resolve_peer(123456789), # ID or Username
|
||||
users=[ # The users you want to invite
|
||||
client.resolve_peer(23456789), # By ID
|
||||
client.resolve_peer("username"), # By username
|
||||
|
Reference in New Issue
Block a user