sendChatAction - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / sendChatAction

sendChatAction

suspend fun TelegramFlow.sendChatAction(chatId: Long, action: ChatAction?): Unit

Suspend function, which sends a notification about user activity in a chat.

Parameters

chatId - Chat identifier.

action - The action description.