MadelineProtoDocs/old_docs/API_docs_v44/constructors/updateChannelParticipant.md

1.2 KiB

title description image
updateChannelParticipant updateChannelParticipant attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChannelParticipant

Back to constructors index

Attributes:

Name Type Required
channel_id int Yes
date int Yes
user_id int Yes
prev_participant ChannelParticipant Optional
new_participant ChannelParticipant Optional
qts int Yes

Type: Update

Example:

$updateChannelParticipant = ['_' => 'updateChannelParticipant', 'channel_id' => int, 'date' => int, 'user_id' => int, 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant, 'qts' => int];

Or, if you're into Lua:

updateChannelParticipant={_='updateChannelParticipant', channel_id=int, date=int, user_id=int, prev_participant=ChannelParticipant, new_participant=ChannelParticipant, qts=int}