Skip to main content

updateChatParticipantAdmin

Admin permissions of a user in a basic group were changed

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

Implements Update.

Fields

NameTypeRequiredDescription
ChatIDint64yesChat ID
UserIDint64yesID of the (de)admined user
IsAdminboolyesWhether the user was rendered admin
VersionintyesUsed similarly to pts values to deduplicate/update outdated chat information as specified here ».

References