MadelineProtoDocs/docs/API_docs/constructors/channels.channelParticipants.md
2020-06-16 17:50:25 +02:00

1.2 KiB

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

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 mentioned in participant info

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}}