addCustomServerLanguagePack - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / addCustomServerLanguagePack

addCustomServerLanguagePack

suspend fun TelegramFlow.addCustomServerLanguagePack(languagePackId: String?): Unit

Suspend function, which adds a custom server language pack to the list of installed language packs in current localization target. Can be called before authorization.

Parameters

languagePackId - Identifier of a language pack to be added; may be different from a name that is used in an "https://t.me/setlanguage/" link.