ToggleChatAdmins

class pyrogram.api.functions.messages.ToggleChatAdmins(chat_id: int, enabled: bool)
ID

0xec8bd9e1

Parameters:
  • chat_idint 32-bit
  • enabledbool
Raises:

Error

Returns:

Either UpdatesTooLong, UpdateShortMessage, UpdateShortChatMessage, UpdateShort, UpdatesCombined, Update or UpdateShortSentMessage