Package org.drinkless.tdlib
Class TdApi.SetStickerSetThumbnail
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetStickerSetThumbnail
-
- Enclosing class:
- TdApi
public static class TdApi.SetStickerSetThumbnail extends TdApi.Function
Sets a sticker set thumbnail; for bots only. Returns the sticker set.Returns
StickerSet
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringnameSticker set name.TdApi.InputFilethumbnailThumbnail to set in PNG or TGS format; pass null to remove the sticker set thumbnail.longuserIdSticker set owner.
-
Constructor Summary
Constructors Constructor Description SetStickerSetThumbnail()Default constructor for a function, which sets a sticker set thumbnail; for bots only.SetStickerSetThumbnail(long userId, String name, TdApi.InputFile thumbnail)Creates a function, which sets a sticker set thumbnail; for bots only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
userId
public long userId
Sticker set owner.
-
name
public String name
Sticker set name.
-
thumbnail
public TdApi.InputFile thumbnail
Thumbnail to set in PNG or TGS format; pass null to remove the sticker set thumbnail. Animated thumbnail must be set for animated sticker sets and only for them.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetStickerSetThumbnail
public SetStickerSetThumbnail()
Default constructor for a function, which sets a sticker set thumbnail; for bots only. Returns the sticker set.Returns
StickerSet
-
SetStickerSetThumbnail
public SetStickerSetThumbnail(long userId, String name, TdApi.InputFile thumbnail)Creates a function, which sets a sticker set thumbnail; for bots only. Returns the sticker set.Returns
StickerSet- Parameters:
userId- Sticker set owner.name- Sticker set name.thumbnail- Thumbnail to set in PNG or TGS format; pass null to remove the sticker set thumbnail. Animated thumbnail must be set for animated sticker sets and only for them.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-