ChatKtx.get - libtd-ktx

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


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

get

open suspend fun Chat.get(): Chat

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

Return TdApi.Chat A chat. (Can be a private chat, basic group, supergroup, or secret chat.)