Package org.drinkless.tdlib
Class TdApi.GetEmojiSuggestionsUrl
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetEmojiSuggestionsUrl
-
- Enclosing class:
- TdApi
public static class TdApi.GetEmojiSuggestionsUrl extends TdApi.Function
Returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation.Returns
HttpUrl
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringlanguageCodeLanguage code for which the emoji replacements will be suggested.
-
Constructor Summary
Constructors Constructor Description GetEmojiSuggestionsUrl()Default constructor for a function, which returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements.GetEmojiSuggestionsUrl(String languageCode)Creates a function, which returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements.
-
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
-
languageCode
public String languageCode
Language code for which the emoji replacements will be suggested.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetEmojiSuggestionsUrl
public GetEmojiSuggestionsUrl()
Default constructor for a function, which returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation.Returns
HttpUrl
-
GetEmojiSuggestionsUrl
public GetEmojiSuggestionsUrl(String languageCode)
Creates a function, which returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation.Returns
HttpUrl- Parameters:
languageCode- Language code for which the emoji replacements will be suggested.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-