Skip to main content

updateChannelParticipant

A participant has left, joined, was banned or admined in a channel or supergroup.

type tg.UpdateChannelParticipant struct { /* ... */ }

Implements Update.

Fields

NameTypeRequiredDescription
ViaChatlistboolWhether the participant joined using a chat folder deep link ».
ChannelIDint64yesChannel ID
DateintyesDate of the event
ActorIDint64yesUser that triggered the change (inviter, admin that kicked the user, or the even the user_id itself)
UserIDint64yesUser that was affected by the change
PrevParticipantChannelParticipantClassPrevious participant status
NewParticipantChannelParticipantClassNew participant status
InviteExportedChatInviteClassChat invite used to join the channel/supergroup
QtsintyesNew qts value, see updates » for more info.

References