ToggleInvites

class pyrogram.api.functions.channels.ToggleInvites(channel, enabled: bool)
ID

0x49609307

Parameters:
Raises:

Error

Returns:

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