Module tdlight.api

Class TdApi.GetEmojiSuggestionsUrl

Enclosing class:
TdApi

public static final class TdApi.GetEmojiSuggestionsUrl extends TdApi.Function<TdApi.HttpUrl>
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 Details

    • languageCode

      public String languageCode
      Language code for which the emoji replacements will be suggested.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetEmojiSuggestionsUrl

      public GetEmojiSuggestionsUrl()
      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)
      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 - String Language code for which the emoji replacements will be suggested.
    • GetEmojiSuggestionsUrl

      public GetEmojiSuggestionsUrl(DataInput input) throws IOException
      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

      Throws:
      IOException
  • Method Details