channels.ToggleAutotranslation

class pyrogram.raw.functions.channels.ToggleAutotranslation

Toggle autotranslation in a channel, for all users: see here » for more info.

Details:
  • Layer: 222

  • ID: 167FC0A1

Parameters:
  • channel (InputChannel) – The channel where to toggle autotranslation.

  • enabled (bool) – Whether to enable or disable autotranslation.

Returns:

Updates