Class TdApi.SetSavedMessagesTagLabel

Enclosing class:
TdApi

public static class TdApi.SetSavedMessagesTagLabel extends TdApi.Function<TdApi.Ok>
Changes label of a Saved Messages tag; for Telegram Premium users only.

Returns Ok

  • Field Details

    • tag

      public TdApi.ReactionType tag
      The tag which label will be changed.
    • label

      public String label
      New label for the tag; 0-12 characters.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SetSavedMessagesTagLabel

      public SetSavedMessagesTagLabel()
      Default constructor for a function, which changes label of a Saved Messages tag; for Telegram Premium users only.

      Returns Ok

    • SetSavedMessagesTagLabel

      public SetSavedMessagesTagLabel(TdApi.ReactionType tag, String label)
      Creates a function, which changes label of a Saved Messages tag; for Telegram Premium users only.

      Returns Ok

      Parameters:
      tag - The tag which label will be changed.
      label - New label for the tag; 0-12 characters.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR