public static class TdApi.CreateNewStickerSet extends TdApi.Function
Returns StickerSet
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isMasks
True, if stickers are masks.
|
java.lang.String |
name
Sticker set name.
|
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; must be non-empty.
|
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,
boolean isMasks,
TdApi.InputSticker[] stickers,
java.lang.String source)
Creates a function, which creates a new sticker set.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long userId
public java.lang.String title
public java.lang.String name
public boolean isMasks
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, boolean isMasks, 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; 1-64 characters.isMasks
- True, if stickers are masks. Animated stickers can't be masks.stickers
- List of stickers to be added to the set; must be non-empty. All stickers must be of the same type. For animated stickers, uploadStickerFile must be used before the sticker is shown.source
- Source of the sticker set; may be empty if unknown.public int getConstructor()
getConstructor
in class TdApi.Function