MadelineProto/docs/TD_docs/methods/getChannelMembers.md

26 lines
1.1 KiB
Markdown
Raw Normal View History

---
title: getChannelMembers
2017-08-25 15:05:53 +02:00
description: 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](index.md)
2017-06-06 18:39:21 +02:00
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
2017-08-25 15:05:53 +02:00
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 |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
2018-03-20 16:42:05 +01:00
|channel\_id|[CLICK ME int](../types/int.md) | Yes|Identifier of the channel|
|filter|[CLICK ME ChannelMembersFilter](../types/ChannelMembersFilter.md) | Yes|Kind of channel users to return, defaults to channelMembersRecent|
|offset|[CLICK ME int](../types/int.md) | Yes|Number of channel users to skip|
|limit|[CLICK ME int](../types/int.md) | Yes|Maximum number of users be returned, can't be greater than 200|
### Return type: [ChatMembers](../types/ChatMembers.md)