Module tdlight.api

Class TdApi.SetStickerKeywords

Enclosing class:
TdApi

public static final class TdApi.SetStickerKeywords extends TdApi.Function<TdApi.Ok>
Changes the list of keywords of 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.
    • keywords

      public String[] keywords
      List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SetStickerKeywords

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

      public SetStickerKeywords(TdApi.InputFile sticker, String[] keywords)
      Changes the list of keywords of 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.
      keywords - String[] List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.
    • SetStickerKeywords

      public SetStickerKeywords(DataInput input) throws IOException
      Changes the list of keywords of 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