2019-08-15 20:25:16 +02:00
|
|
|
---
|
|
|
|
title: channels.channelParticipants
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Represents multiple channel participants
|
2019-08-15 20:25:16 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: channels.channelParticipants
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Represents multiple channel participants
|
2019-08-15 20:25:16 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query|
|
2019-08-15 20:25:16 +02:00
|
|
|
|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants|
|
|
|
|
|users|Array of [User](../types/User.md) | Yes|Users|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|