Class TdApi.SearchEmojis
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.EmojiKeywords>
dev.voroby.springframework.telegram.client.TdApi.SearchEmojis
- Enclosing class:
- TdApi
Searches for emojis by keywords. Supported only if the file database is enabled. Order of results is unspecified.
Returns EmojiKeywords
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.String[]
List of possible IETF language tags of the user's input language; may be empty if unknown.Text to search for. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which searches for emojis by keywords.SearchEmojis
(String text, String[] inputLanguageCodes) Creates a function, which searches for emojis by keywords. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
text
Text to search for. -
inputLanguageCodes
List of possible IETF language tags of the user's input language; may be empty if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SearchEmojis
public SearchEmojis()Default constructor for a function, which searches for emojis by keywords. Supported only if the file database is enabled. Order of results is unspecified.Returns
EmojiKeywords
-
SearchEmojis
Creates a function, which searches for emojis by keywords. Supported only if the file database is enabled. Order of results is unspecified.Returns
EmojiKeywords
- Parameters:
text
- Text to search for.inputLanguageCodes
- List of possible IETF language tags of the user's input language; may be empty if unknown.
-
-
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
-