Package org.drinkless.tdlib
Class TdApi.GetStickers
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetStickers
-
- Enclosing class:
- TdApi
public static class TdApi.GetStickers extends TdApi.Function
Returns stickers from the installed sticker sets that correspond to a given emoji. If the emoji is non-empty, favorite and recently used stickers may also be returned.Returns
Stickers
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringemojiString representation of emoji.intlimitThe maximum number of stickers to be returned.
-
Constructor Summary
Constructors Constructor Description GetStickers()Default constructor for a function, which returns stickers from the installed sticker sets that correspond to a given emoji.GetStickers(String emoji, int limit)Creates a function, which returns stickers from the installed sticker sets that correspond to a given emoji.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
emoji
public String emoji
String representation of emoji. If empty, returns all known installed stickers.
-
limit
public int limit
The maximum number of stickers to be returned.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetStickers
public GetStickers()
Default constructor for a function, which returns stickers from the installed sticker sets that correspond to a given emoji. If the emoji is non-empty, favorite and recently used stickers may also be returned.Returns
Stickers
-
GetStickers
public GetStickers(String emoji, int limit)
Creates a function, which returns stickers from the installed sticker sets that correspond to a given emoji. If the emoji is non-empty, favorite and recently used stickers may also be returned.Returns
Stickers- Parameters:
emoji- String representation of emoji. If empty, returns all known installed stickers.limit- The maximum number of stickers to be returned.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-