MadelineProtoDocs/old_docs/API_docs_v42/constructors/channels_channelParticipants.md
2019-12-27 17:48:04 +01:00

1.1 KiB

title description image
channels.channelParticipants Represents multiple channel participants https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channels.channelParticipants

Back to constructors index

Represents multiple channel participants

Attributes:

Name Type Required Description
count int Yes Total number of participants that correspond to the given query
participants Array of ChannelParticipant Yes Participants
users Array of User Yes Users

Type: channels_ChannelParticipants

Example:

$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]];

Or, if you're into Lua:

channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}}