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