messages.TogglePeerTranslations#

class pyrogram.raw.functions.messages.TogglePeerTranslations#

Show or hide the real-time chat translation popup for a certain chat.

Details:
  • Layer: 158

  • ID: E47CB579

Parameters:
  • peer (InputPeer) – The peer.

  • disabled (bool, optional) – Whether to disable or enable the real-time chat translation popup.

Returns:

bool