Module tdlight.api

Class TdApi.SetStickerSetThumbnail

Enclosing class:
TdApi

public static final class TdApi.SetStickerSetThumbnail extends TdApi.Function<TdApi.StickerSet>
Sets a sticker set thumbnail; for bots only. Returns the sticker set. Returns StickerSet
  • Field Details

    • userId

      public long userId
      Sticker set owner.
    • name

      public String name
      Sticker set name.
    • thumbnail

      public TdApi.InputFile thumbnail
      Thumbnail to set in PNG, TGS, or WEBM format; pass null to remove the sticker set thumbnail. Thumbnail format must match the format of stickers in the set.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SetStickerSetThumbnail

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

      public SetStickerSetThumbnail(long userId, String name, TdApi.InputFile thumbnail)
      Sets a sticker set thumbnail; for bots only. Returns the sticker set. Returns StickerSet
      Parameters:
      userId - long Sticker set owner.
      name - String Sticker set name.
      thumbnail - InputFile Thumbnail to set in PNG, TGS, or WEBM format; pass null to remove the sticker set thumbnail. Thumbnail format must match the format of stickers in the set.
    • SetStickerSetThumbnail

      public SetStickerSetThumbnail(DataInput input) throws IOException
      Sets a sticker set thumbnail; for bots only. Returns the sticker set. Returns StickerSet
      Throws:
      IOException
  • Method Details