libtd-ktx / kotlinx.telegram.coroutines / getLocalizationTargetInfo
getLocalizationTargetInfo
suspend fun
TelegramFlow
.getLocalizationTargetInfo(onlyLocal:
Boolean
):
LocalizationTargetInfo
Suspend function, which returns information about the current localization target. This is an offline request if onlyLocal is true. Can be called before authorization.
Parameters
onlyLocal
- If true, returns only locally available information without sending network
requests.
Return LocalizationTargetInfo Contains information about the current localization target.