Module tdlight.api

Class TdApi.ToggleChatIsTranslatable

Enclosing class:
TdApi

public static final class TdApi.ToggleChatIsTranslatable extends TdApi.Function<TdApi.Ok>
Changes the translatable state of a chat; for Telegram Premium users only. Returns Ok
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • isTranslatable

      public boolean isTranslatable
      New value of isTranslatable.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ToggleChatIsTranslatable

      public ToggleChatIsTranslatable()
      Changes the translatable state of a chat; for Telegram Premium users only. Returns Ok
    • ToggleChatIsTranslatable

      public ToggleChatIsTranslatable(long chatId, boolean isTranslatable)
      Changes the translatable state of a chat; for Telegram Premium users only. Returns Ok
      Parameters:
      chatId - long Chat identifier.
      isTranslatable - boolean New value of isTranslatable.
    • ToggleChatIsTranslatable

      public ToggleChatIsTranslatable(DataInput input) throws IOException
      Changes the translatable state of a chat; for Telegram Premium users only. Returns Ok
      Throws:
      IOException
  • Method Details