Class TdApi.SetCustomEmojiStickerSetThumbnail
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.SetCustomEmojiStickerSetThumbnail
- Enclosing class:
- TdApi
Sets a custom emoji sticker set thumbnail.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
name
Sticker set name. The sticker set must be owned by the current user. -
customEmojiId
public long customEmojiIdIdentifier 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 CONSTRUCTORIdentifier 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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-