1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 13:54:39 +01:00
MadelineProto/old_docs/API_docs_v45/constructors/channels_channelParticipant.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

966 B

title description
channels.channelParticipant channels_channelParticipant attributes, type and example

Constructor: channels.channelParticipant

Back to constructors index

Attributes:

Name Type Required
participant ChannelParticipant Yes
users Array of User Yes

Type: channels_ChannelParticipant

Example:

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

PWRTelegram json-encoded version:

{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]}

Or, if you're into Lua:

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