public static class TdApi.CreateNewStickerSet extends TdApi.Function<TdApi.StickerSet>
Returns StickerSet
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
name
Sticker set name.
|
boolean |
needsRepainting
Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only.
|
java.lang.String |
source
Source of the sticker set; may be empty if unknown.
|
TdApi.InputSticker[] |
stickers
List of stickers to be added to the set; 1-200 stickers for custom emoji sticker sets, and 1-120 stickers otherwise.
|
TdApi.StickerType |
stickerType
Type of the stickers in the set.
|
java.lang.String |
title
Sticker set title; 1-64 characters.
|
long |
userId
Sticker set owner; ignored for regular users.
|
| Constructor and Description |
|---|
CreateNewStickerSet()
Default constructor for a function, which creates a new sticker set.
|
CreateNewStickerSet(long userId,
java.lang.String title,
java.lang.String name,
TdApi.StickerType stickerType,
boolean needsRepainting,
TdApi.InputSticker[] stickers,
java.lang.String source)
Creates a function, which creates a new sticker 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 title
public java.lang.String name
public TdApi.StickerType stickerType
public boolean needsRepainting
public TdApi.InputSticker[] stickers
public java.lang.String source
public static final int CONSTRUCTOR
public CreateNewStickerSet()
Returns StickerSet
public CreateNewStickerSet(long userId,
java.lang.String title,
java.lang.String name,
TdApi.StickerType stickerType,
boolean needsRepainting,
TdApi.InputSticker[] stickers,
java.lang.String source)
Returns StickerSet
userId - Sticker set owner; ignored for regular users.title - Sticker set title; 1-64 characters.name - Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_<bot username>"* (*<botUsername>* is case insensitive) for bots; 0-64 characters. If empty, then the name returned by getSuggestedStickerSetName will be used automatically.stickerType - Type of the stickers in the set.needsRepainting - Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only.stickers - List of stickers to be added to the set; 1-200 stickers for custom emoji sticker sets, and 1-120 stickers otherwise. For TGS stickers, uploadStickerFile must be used before the sticker is shown.source - Source of the sticker set; may be empty if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object