public static class TdApi.AddStickerToSet extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
name
Sticker set name.
|
TdApi.InputSticker |
sticker
Sticker to add to the set.
|
long |
userId
Sticker set owner; ignored for regular users.
|
| Constructor and Description |
|---|
AddStickerToSet()
Default constructor for a function, which adds a new sticker to a set.
|
AddStickerToSet(long userId,
java.lang.String name,
TdApi.InputSticker sticker)
Creates a function, which adds a new sticker to a set.
|
| 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.InputSticker sticker
public static final int CONSTRUCTOR
public AddStickerToSet()
Returns Ok
public AddStickerToSet(long userId,
java.lang.String name,
TdApi.InputSticker sticker)
Returns Ok
userId - Sticker set owner; ignored for regular users.name - Sticker set name. The sticker set must be owned by the current user, and contain less than 200 stickers for custom emoji sticker sets and less than 120 otherwise.sticker - Sticker to add to the set.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object