Class 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 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.