updateChannelParticipant
A participant has left, joined, was banned or admined in a channel or supergroup.
type tg.UpdateChannelParticipant struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ViaChatlist | bool | — | Whether the participant joined using a chat folder deep link ». |
ChannelID | int64 | yes | Channel ID |
Date | int | yes | Date of the event |
ActorID | int64 | yes | User that triggered the change (inviter, admin that kicked the user, or the even the user_id itself) |
UserID | int64 | yes | User that was affected by the change |
PrevParticipant | ChannelParticipantClass | — | Previous participant status |
NewParticipant | ChannelParticipantClass | — | New participant status |
Invite | ExportedChatInviteClass | — | Chat invite used to join the channel/supergroup |
Qts | int | yes | New qts value, see updates » for more info. |
References
- Official documentation
- Generated Go reference
- TL definition:
updateChannelParticipant#985d3abb