libtd-ktx / kotlinx.telegram.coroutines / getChat
getChat
suspend fun
TelegramFlow
.getChat(chatId:
Long
):
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.
Parameters
chatId
- Chat identifier.
Return Chat A chat. (Can be a private chat, basic group, supergroup, or secret chat.)