Skip to content

get authorization state

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.coroutines / getAuthorizationState

getAuthorizationState

suspend fun TelegramFlow.getAuthorizationState(): AuthorizationState

Suspend function, which returns the current authorization state; this is an offline request. For informational purposes only. Use updateAuthorizationState instead to maintain the current authorization state.

Return AuthorizationState This class is an abstract base class.

Clone this wiki locally