Class TdApi.SetCustomEmojiStickerSetThumbnail

Enclosing class:
TdApi

public static class TdApi.SetCustomEmojiStickerSetThumbnail extends TdApi.Function<TdApi.Ok>
Sets a custom emoji sticker set thumbnail.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    long
    Identifier of the custom emoji from the sticker set, which will be set as sticker set thumbnail; pass 0 to remove the sticker set thumbnail.
    Sticker set name.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which sets a custom emoji sticker set thumbnail.
    SetCustomEmojiStickerSetThumbnail(String name, long customEmojiId)
    Creates a function, which sets a custom emoji sticker set thumbnail.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • name

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

      public long customEmojiId
      Identifier of the custom emoji from the sticker set, which will be set as sticker set thumbnail; pass 0 to remove the sticker set thumbnail.
    • CONSTRUCTOR

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

    • SetCustomEmojiStickerSetThumbnail

      public SetCustomEmojiStickerSetThumbnail()
      Default constructor for a function, which sets a custom emoji sticker set thumbnail.

      Returns Ok

    • SetCustomEmojiStickerSetThumbnail

      public SetCustomEmojiStickerSetThumbnail(String name, long customEmojiId)
      Creates a function, which sets a custom emoji sticker set thumbnail.

      Returns Ok

      Parameters:
      name - Sticker set name. The sticker set must be owned by the current user.
      customEmojiId - Identifier of the custom emoji from the sticker set, which will be set as sticker set thumbnail; pass 0 to remove the sticker set thumbnail.
  • 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