- 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
ConstructorDescriptionSearches for emojis by keywords.SearchEmojis
(DataInput input) Searches for emojis by keywords.SearchEmojis
(String text, String[] inputLanguageCodes) Searches for emojis by keywords. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
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()Searches for emojis by keywords. Supported only if the file database is enabled. Order of results is unspecified.Returns
EmojiKeywords
-
SearchEmojis
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.Returns
EmojiKeywords
-
SearchEmojis
Searches for emojis by keywords. Supported only if the file database is enabled. Order of results is unspecified.Returns
EmojiKeywords
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-