Module tdlight.api

Class TdApi.SetStickerEmojis

Enclosing class:
TdApi

public static final class TdApi.SetStickerEmojis extends TdApi.Function<TdApi.Ok>
Changes the list of emoji corresponding to a sticker; for bots only. The sticker must belong to a regular or custom emoji sticker set created by the bot. 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
      See Also:
  • Constructor Details

    • SetStickerEmojis

      public SetStickerEmojis()
      Changes the list of emoji corresponding to a sticker; for bots only. The sticker must belong to a regular or custom emoji sticker set created by the bot. Returns Ok
    • SetStickerEmojis

      public SetStickerEmojis(TdApi.InputFile sticker, String emojis)
      Changes the list of emoji corresponding to a sticker; for bots only. The sticker must belong to a regular or custom emoji sticker set created by the bot. Returns Ok
      Parameters:
      sticker - InputFile Sticker.
      emojis - String New string with 1-20 emoji corresponding to the sticker.
    • SetStickerEmojis

      public SetStickerEmojis(DataInput input) throws IOException
      Changes the list of emoji corresponding to a sticker; for bots only. The sticker must belong to a regular or custom emoji sticker set created by the bot. Returns Ok
      Throws:
      IOException
  • Method Details