Chat ID or username
Optional
params: { Additional parameters
Optional
limit?: numberMaximum number of members to be retrieved.
Note: Telegram currently only allows you to ever retrieve at most 200 members, regardless of offset/limit. I.e. when passing
offset=201
nothing will ever be returned.
Optional
offset?: numberSequential number of the first member to be returned.
Optional
query?: stringSearch query to filter members by their display names and usernames
Note: Only used for these values of
filter
:all, banned, restricted, mention, contacts
Optional
type?: Type of the query. Can be:
all
: get all membersbanned
: get only banned membersrestricted
: get only restricted membersbots
: get only botsrecent
: get recent membersadmins
: get only administrators (and creator)contacts
: get only contactsmention
: get users that can be mentioned (see tl.RawChannelParticipantsMentions)Only used for channels and supergroups.
Get a chunk of members of some chat.
You can retrieve up to 200 members at once