Class TdApi.SetStickerSetThumbnail
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.SetStickerSetThumbnail
- Enclosing class:
- TdApi
Sets a sticker set thumbnail.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Format of the thumbnail; pass null if thumbnail is removed.Sticker set name.Thumbnail to set; pass null to remove the sticker set thumbnail.long
Sticker set owner; ignored for regular users. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which sets a sticker set thumbnail.SetStickerSetThumbnail
(long userId, String name, TdApi.InputFile thumbnail, TdApi.StickerFormat format) Creates a function, which sets a 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
-
userId
public long userIdSticker 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-