public static class TdApi.GetStickers extends TdApi.Function<TdApi.Stickers>
Returns Stickers
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier for which to return stickers.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of stickers to be returned.
|
java.lang.String |
query
Search query; a space-separated list of emojis or a keyword prefix.
|
TdApi.StickerType |
stickerType
Type of the stickers to return.
|
| Constructor and Description |
|---|
GetStickers()
Default constructor for a function, which returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords.
|
GetStickers(TdApi.StickerType stickerType,
java.lang.String query,
int limit,
long chatId)
Creates a function, which returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.StickerType stickerType
public java.lang.String query
public int limit
public long chatId
public static final int CONSTRUCTOR
public GetStickers()
Returns Stickers
public GetStickers(TdApi.StickerType stickerType, java.lang.String query, int limit, long chatId)
Returns Stickers
stickerType - Type of the stickers to return.query - Search query; a space-separated list of emojis or a keyword prefix. If empty, returns all known installed stickers.limit - The maximum number of stickers to be returned.chatId - Chat identifier for which to return stickers. Available custom emoji stickers may be different for different chats.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object