MadelineProtoDocs/old_docs/API_docs_v57/constructors/channels.channelParticipant.md
2019-12-27 18:25:37 +01:00

955 B

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

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