- Enclosing class:
- TdApi
Searches for emojis by keywords. Supported only if the file database
is enabled.
Returns Emojis
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
Pass true if only emojis, which exactly match the text, needs to be returned.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, boolean exactMatch, 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. -
exactMatch
public boolean exactMatchPass true if only emojis, which exactly match the text, needs to be returned. -
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.Returns
Emojis
-
SearchEmojis
Searches for emojis by keywords. Supported only if the file database is enabled.Returns
Emojis
- Parameters:
text
- Text to search for.exactMatch
- Pass true if only emojis, which exactly match the text, needs to be returned.inputLanguageCodes
- List of possible IETF language tags of the user's input language; may be empty if unknown.Returns
Emojis
-
SearchEmojis
Searches for emojis by keywords. Supported only if the file database is enabled.Returns
Emojis
- 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()
-