public static class TdApi.SetStickerSetThumbnail extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.StickerFormat |
format
Format of the thumbnail; pass null if thumbnail is removed.
|
java.lang.String |
name
Sticker set name.
|
TdApi.InputFile |
thumbnail
Thumbnail to set; pass null to remove the sticker set thumbnail.
|
long |
userId
Sticker set owner; ignored for regular users.
|
| Constructor and Description |
|---|
SetStickerSetThumbnail()
Default constructor for a function, which sets a sticker set thumbnail.
|
SetStickerSetThumbnail(long userId,
java.lang.String name,
TdApi.InputFile thumbnail,
TdApi.StickerFormat format)
Creates a function, which sets a sticker set thumbnail.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public java.lang.String name
public TdApi.InputFile thumbnail
public TdApi.StickerFormat format
public static final int CONSTRUCTOR
public SetStickerSetThumbnail()
Returns Ok
public SetStickerSetThumbnail(long userId,
java.lang.String name,
TdApi.InputFile thumbnail,
TdApi.StickerFormat format)
Returns Ok
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object