2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Update example

This commit is contained in:
Dan 2018-02-27 18:25:59 +01:00
parent 4a173500dd
commit afb48d5d31

View File

@ -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