MadelineProtoDocs/docs/API_docs/constructors/channels_channelParticipant...

1.2 KiB

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

Constructor: channels.channelParticipants

Back to constructors index

Channel participants

Attributes:

Name Type Required Description
count int Yes Count
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]];

PWRTelegram json-encoded version:

{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]}

Or, if you're into Lua:

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