mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Update example
This commit is contained in:
parent
4a173500dd
commit
afb48d5d31
@ -84,7 +84,7 @@ Here some examples:
|
|||||||
|
|
||||||
client.send(
|
client.send(
|
||||||
functions.channels.InviteToChannel(
|
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
|
users=[ # The users you want to invite
|
||||||
client.resolve_peer(23456789), # By ID
|
client.resolve_peer(23456789), # By ID
|
||||||
client.resolve_peer("username"), # By username
|
client.resolve_peer("username"), # By username
|
||||||
|
Loading…
x
Reference in New Issue
Block a user