MadelineProtoDocs/old_docs/API_docs_v86/constructors/channels.channelParticipant.md
2019-12-27 18:46:25 +01: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}}