Module tdlight.api

Class TdApi.ToggleSupergroupSignMessages

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.ToggleSupergroupSignMessages
Enclosing class:
TdApi

public static final class TdApi.ToggleSupergroupSignMessages extends TdApi.Function<TdApi.Ok>
Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.

Returns Ok

  • Field Details

    • supergroupId

      public long supergroupId
      Identifier of the channel.
    • signMessages

      public boolean signMessages
      New value of signMessages.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ToggleSupergroupSignMessages

      public ToggleSupergroupSignMessages()
      Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.

      Returns Ok

    • ToggleSupergroupSignMessages

      public ToggleSupergroupSignMessages(long supergroupId, boolean signMessages)
      Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.

      Returns Ok

      Parameters:
      supergroupId - long Identifier of the channel.
      signMessages - boolean New value of signMessages.
    • ToggleSupergroupSignMessages

      public ToggleSupergroupSignMessages(DataInput input) throws IOException
      Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.

      Returns Ok

      Throws:
      IOException
  • Method Details