Class TdApi.SetStickerEmojis

Enclosing class:
TdApi

public static class TdApi.SetStickerEmojis extends TdApi.Function<TdApi.Ok>
Changes the list of emojis corresponding to a sticker. The sticker must belong to a regular or custom emoji sticker set that is owned by the current user.

Returns Ok

  • Field Details

    • sticker

      public TdApi.InputFile sticker
      Sticker.
    • emojis

      public String emojis
      New string with 1-20 emoji corresponding to the sticker.
    • CONSTRUCTOR

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

    • SetStickerEmojis

      public SetStickerEmojis()
      Default constructor for a function, which changes the list of emojis corresponding to a sticker. The sticker must belong to a regular or custom emoji sticker set that is owned by the current user.

      Returns Ok

    • SetStickerEmojis

      public SetStickerEmojis(TdApi.InputFile sticker, String emojis)
      Creates a function, which changes the list of emojis corresponding to a sticker. The sticker must belong to a regular or custom emoji sticker set that is owned by the current user.

      Returns Ok

      Parameters:
      sticker - Sticker.
      emojis - New string with 1-20 emoji corresponding to the sticker.
  • 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