Package it.tdlight.jni
Class TdApi.SetStickerSetThumbnail
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 int
CONSTRUCTOR
String
name
Sticker set name.TdApi.InputFile
thumbnail
Thumbnail to set in PNG or TGS format.long
userId
Sticker set owner. -
Constructor Summary
Constructors Constructor Description SetStickerSetThumbnail()
Sets a sticker set thumbnail; for bots only.SetStickerSetThumbnail(long userId, String name, TdApi.InputFile thumbnail)
Sets a sticker set thumbnail; for bots only.SetStickerSetThumbnail(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public long userIdSticker set owner. -
name
Sticker set name. -
thumbnail
Thumbnail to set in PNG or TGS format. Animated thumbnail must be set for animated sticker sets and only for them. Pass a zero InputFileId to delete the thumbnail. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetStickerSetThumbnail
public SetStickerSetThumbnail()Sets a sticker set thumbnail; for bots only. Returns the sticker set.Returns
StickerSet
-
SetStickerSetThumbnail
Sets a sticker set thumbnail; for bots only. Returns the sticker set.Returns
StickerSet
- Parameters:
userId
- long Sticker set owner.name
- String Sticker set name.thumbnail
- InputFile Thumbnail to set in PNG or TGS format. Animated thumbnail must be set for animated sticker sets and only for them. Pass a zero InputFileId to delete the thumbnail.
-
SetStickerSetThumbnail
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-