telegram api method · layer 92 · #ec8bd9e1

messages.toggleChatAdmins

not in the latest layer 229: last defined in layer 92

definition

messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates;

parameters

nametypedescription
chat_idint
enabledBool

returns

Updates

errors (2)

codeerrordescription
400CHAT_ID_INVALIDThe provided chat id is invalid.
400CHAT_NOT_MODIFIEDNo changes were made to chat information because the new information you passed is identical to the current information.

history

present in layers 46–92

idlayers
#ec8bd9e146–92