Class TdApi.SetStickerSetThumbnail

Enclosing class:
TdApi

public static class TdApi.SetStickerSetThumbnail
extends TdApi.Function
Sets a sticker set thumbnail; for bots only. Returns the sticker set.

Returns StickerSet

  • Field Details

    • userId

      public int userId
      Sticker set owner.
    • name

      public String name
      Sticker set name.
    • thumbnail

      public TdApi.InputFile thumbnail
      Thumbnail to set in PNG or TGS format. Animated thumbnail must be set for animated sticker sets and only for them. Pass a zero InputFileId to delete the thumbnail.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • SetStickerSetThumbnail

      public SetStickerSetThumbnail()
      Sets a sticker set thumbnail; for bots only. Returns the sticker set.

      Returns StickerSet

    • SetStickerSetThumbnail

      public SetStickerSetThumbnail​(int userId, String name, TdApi.InputFile thumbnail)
      Sets a sticker set thumbnail; for bots only. Returns the sticker set.

      Returns StickerSet

      Parameters:
      userId - int Sticker set owner.
      name - String Sticker set name.
      thumbnail - InputFile Thumbnail to set in PNG or TGS format. Animated thumbnail must be set for animated sticker sets and only for them. Pass a zero InputFileId to delete the thumbnail.
    • SetStickerSetThumbnail

      public SetStickerSetThumbnail​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details