Package org.drinkless.tdlib
Class TdApi.SearchStickers
- Enclosing class:
- TdApi
Searches for stickers from public sticker sets that correspond to any of the given emoji.
Returns Stickers
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Space-separated list of emojis to search for.String[]
List of possible IETF language tags of the user's input language; may be empty if unknown.int
The maximum number of stickers to be returned; 0-100.int
The offset from which to return the stickers; must be non-negative.Query to search for; may be empty to search for emoji only.Type of the stickers to return. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which searches for stickers from public sticker sets that correspond to any of the given emoji.SearchStickers
(TdApi.StickerType stickerType, String emojis, String query, String[] inputLanguageCodes, int offset, int limit) Creates a function, which searches for stickers from public sticker sets that correspond to any of the given emoji. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
stickerType
Type of the stickers to return. -
emojis
Space-separated list of emojis to search for. -
query
Query to search for; may be empty to search for emoji only. -
inputLanguageCodes
List of possible IETF language tags of the user's input language; may be empty if unknown. -
offset
public int offsetThe offset from which to return the stickers; must be non-negative. -
limit
public int limitThe maximum number of stickers to be returned; 0-100. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SearchStickers
public SearchStickers()Default constructor for a function, which searches for stickers from public sticker sets that correspond to any of the given emoji.Returns
Stickers
-
SearchStickers
public SearchStickers(TdApi.StickerType stickerType, String emojis, String query, String[] inputLanguageCodes, int offset, int limit) Creates a function, which searches for stickers from public sticker sets that correspond to any of the given emoji.Returns
Stickers
- Parameters:
stickerType
- Type of the stickers to return.emojis
- Space-separated list of emojis to search for.query
- Query to search for; may be empty to search for emoji only.inputLanguageCodes
- List of possible IETF language tags of the user's input language; may be empty if unknown.offset
- The offset from which to return the stickers; must be non-negative.limit
- The maximum number of stickers to be returned; 0-100.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-