updateChatParticipantAdmin
Admin permissions of a user in a basic group were changed
type tg.UpdateChatParticipantAdmin struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ChatID | int64 | yes | Chat ID |
UserID | int64 | yes | ID of the (de)admined user |
IsAdmin | bool | yes | Whether the user was rendered admin |
Version | int | yes | Used similarly to pts values to deduplicate/update outdated chat information as specified here ». |
References
- Official documentation
- Generated Go reference
- TL definition:
updateChatParticipantAdmin#d7ca61a2