public static class TdApi.ReplaceStickerInSet 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 |
newSticker
Sticker to add to the set.
|
TdApi.InputFile |
oldSticker
Sticker to remove from the set.
|
long |
userId
Sticker set owner; ignored for regular users.
|
| Constructor and Description |
|---|
ReplaceStickerInSet()
Default constructor for a function, which replaces existing sticker in a set.
|
ReplaceStickerInSet(long userId,
java.lang.String name,
TdApi.InputFile oldSticker,
TdApi.InputSticker newSticker)
Creates a function, which replaces existing sticker in 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.InputFile oldSticker
public TdApi.InputSticker newSticker
public static final int CONSTRUCTOR
public ReplaceStickerInSet()
Returns Ok
public ReplaceStickerInSet(long userId,
java.lang.String name,
TdApi.InputFile oldSticker,
TdApi.InputSticker newSticker)
Returns Ok
userId - Sticker set owner; ignored for regular users.name - Sticker set name. The sticker set must be owned by the current user.oldSticker - Sticker to remove from the set.newSticker - Sticker to add to the set.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object