Class TdApi.SetStickerSetThumbnail

Enclosing class:
TdApi

public static class TdApi.SetStickerSetThumbnail extends TdApi.Function<TdApi.Ok>
Sets a sticker set thumbnail.

Returns Ok

  • Field Details

    • userId

      public long userId
      Sticker set owner; ignored for regular users.
    • name

      public String name
      Sticker set name. The sticker set must be owned by the current user.
    • thumbnail

      public TdApi.InputFile thumbnail
      Thumbnail to set; pass null to remove the sticker set thumbnail.
    • format

      public TdApi.StickerFormat format
      Format of the thumbnail; pass null if thumbnail is removed.
    • CONSTRUCTOR

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

    • SetStickerSetThumbnail

      public SetStickerSetThumbnail()
      Default constructor for a function, which sets a sticker set thumbnail.

      Returns Ok

    • SetStickerSetThumbnail

      public SetStickerSetThumbnail(long userId, String name, TdApi.InputFile thumbnail, TdApi.StickerFormat format)
      Creates a function, which sets a sticker set thumbnail.

      Returns Ok

      Parameters:
      userId - Sticker set owner; ignored for regular users.
      name - Sticker set name. The sticker set must be owned by the current user.
      thumbnail - Thumbnail to set; pass null to remove the sticker set thumbnail.
      format - Format of the thumbnail; pass null if thumbnail is removed.
  • 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