public static class TdApi.SetSupergroupCustomEmojiStickerSet extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
customEmojiStickerSetId
New value of the custom emoji sticker set identifier for the supergroup.
|
long |
supergroupId
Identifier of the supergroup.
|
| Constructor and Description |
|---|
SetSupergroupCustomEmojiStickerSet()
Default constructor for a function, which changes the custom emoji sticker set of a supergroup; requires canChangeInfo administrator right.
|
SetSupergroupCustomEmojiStickerSet(long supergroupId,
long customEmojiStickerSetId)
Creates a function, which changes the custom emoji sticker set of a supergroup; requires canChangeInfo administrator right.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long supergroupId
public long customEmojiStickerSetId
public static final int CONSTRUCTOR
public SetSupergroupCustomEmojiStickerSet()
Returns Ok
public SetSupergroupCustomEmojiStickerSet(long supergroupId,
long customEmojiStickerSetId)
Returns Ok
supergroupId - Identifier of the supergroup.customEmojiStickerSetId - New value of the custom emoji sticker set identifier for the supergroup. Use 0 to remove the custom emoji sticker set in the supergroup.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object