channels.GetParticipants

class pyrogram.raw.functions.channels.GetParticipants

Get the participants of a supergroup/channel

Details:
  • Layer: 223

  • ID: 77CED9D0

Parameters:
  • channel (InputChannel) – Channel

  • filter (ChannelParticipantsFilter) – Which participant types to fetch

  • offset (int 32-bit) – Offset

  • limit (int 32-bit) – Limit

  • hash (int 64-bit) – Hash

Returns:

channels.ChannelParticipants

TL Schema

channels.getParticipants#77ced9d0
channel:InputChannel
filter:ChannelParticipantsFilter
offset:int
limit:int
hash:long

= channels.ChannelParticipants

Parameter Tree

GetParticipants
├── channelInputChannel
│ ├── InputChannelEmpty
│ ├── InputChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── filterChannelParticipantsFilter
│ │ └── qstring
│ │ └── qstring
│ │ └── qstring
│ │ └── qstring
│ ├── qstring (optional)
│ └── top_msg_idint (optional)
├── offsetint
├── limitint
└── hashlong

Example

await app.invoke(
    GetParticipants(
        channel=await app.resolve_channel(chat_id),
        filter=ChannelParticipantsRecent(),
        offset=0,
        limit=0,
        hash=0,
    )
)