libtd-ktx / kotlinx.telegram.coroutines / setChatDraftMessage
setChatDraftMessage
suspend fun TelegramFlow.setChatDraftMessage(chatId: Long, draftMessage: DraftMessage? = null): Unit
Suspend function, which changes the draft message in a chat.
Parameters
chatId - Chat identifier.
draftMessage - New draft message; may be null.