UserKtx.get - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / UserKtx / get

get

open suspend fun User.get(): User

Suspend function, which returns information about a user by their identifier. This is an offline request if the current user is not a bot.

Return TdApi.User Represents a user.