MadelineProto/docs/TD_docs/methods/getChannelMembers.md

1.1 KiB

title description
getChannelMembers Returns information about channel members or banned users. Can be used only if channel_full->can_get_members == true. Administrator privileges may be additionally needed for some filters

Method: getChannelMembers

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Returns information about channel members or banned users. Can be used only if channel_full->can_get_members == true. Administrator privileges may be additionally needed for some filters

Parameters:

Name Type Required Description
channel_id CLICK ME int Yes Identifier of the channel
filter CLICK ME ChannelMembersFilter Yes Kind of channel users to return, defaults to channelMembersRecent
offset CLICK ME int Yes Number of channel users to skip
limit CLICK ME int Yes Maximum number of users be returned, can't be greater than 200

Return type: ChatMembers