Skip to content

getChannelMembers

Sahri Riza Umami edited this page Dec 8, 2016 · 5 revisions

Returns information about channel members or kicked from channel users.

getChannelMembers(channel_id, offset, filter, limit)

Can be used only if channel_full -> can_get_members == true.

Option Description
channel_id Identifier of the channel.
filter Kind of channel users to return, defaults to channelMembersRecent.
offset Number of channel users to skip.
limit Maximum number of users be returned, can't be greater than 200.

filter = Recent|Administrators|Kicked|Bots

Example

getChannelMembers(channel_id, offset, filter, limit)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally