channels.GetParticipants
- class pyrogram.raw.functions.channels.GetParticipants
Get the participants of a supergroup/channel
- Details:
Layer:
223ID:
77CED9D0
- Parameters:
channel (
InputChannel) – Channelfilter (
ChannelParticipantsFilter) – Which participant types to fetchoffset (
int32-bit) – Offsetlimit (
int32-bit) – Limithash (
int64-bit) – Hash
- Returns:
TL Schema
channels.getParticipants#77ced9d0
channel:InputChannel
filter:ChannelParticipantsFilter
offset:int
limit:int
hash:long
= channels.ChannelParticipants
Parameter Tree
GetParticipants
├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── filter →
ChannelParticipantsFilter│ │ └── q →
string│ ├──
ChannelParticipantsBots│ │ └── q →
string│ │ └── q →
string│ │ └── q →
string│ ├── q →
string (optional)│ └── top_msg_id →
int (optional)├── offset →
int├── limit →
int└── hash →
longExample
await app.invoke(
GetParticipants(
channel=await app.resolve_channel(chat_id),
filter=ChannelParticipantsRecent(),
offset=0,
limit=0,
hash=0,
)
)