MadelineProtoDocs/old_docs/API_docs_v29/constructors/channels.channelParticipant.md
2020-06-16 17:50:25 +02:00

1.0 KiB

title description image redirect_from
channels.channelParticipant Represents a channel participant https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/channels_channelParticipant.html

Constructor: channels.channelParticipant

Back to constructors index

Represents a channel participant

Attributes:

Name Type Required Description
participant ChannelParticipant Yes The channel participant
users Array of User Yes Users

Type: channels.ChannelParticipant

Example:

$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]];

Or, if you're into Lua:

channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}}