getEmojiSuggestionsUrl - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / getEmojiSuggestionsUrl

getEmojiSuggestionsUrl

suspend fun TelegramFlow.getEmojiSuggestionsUrl(languageCode: String?): HttpUrl

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

Parameters

languageCode - Language code for which the emoji replacements will be suggested.

Return HttpUrl Contains an HTTP URL.