telegram api method · layer 92 · #49609307

channels.toggleInvites

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

definition

channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates;

parameters

nametypedescription
channelInputChannel
enabledBool

returns

Updates

errors (3)

codeerrordescription
400CHANNEL_INVALIDThe provided channel is invalid.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
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 62–92

idlayers
#4960930762–92