Constructor: channels.channelParticipant

Back to constructors index

Channel participant

Attributes:

Name Type Required Description
participant ChannelParticipant Yes 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}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.