-
Notifications
You must be signed in to change notification settings - Fork 11
delete chat messages from
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.extensions / UserKtx / deleteChatMessagesFrom
open suspend fun
User
.deleteChatMessagesFrom(chatId:
Long
):
Unit
Suspend function, which deletes all messages sent by the specified user to a chat. Supported only for supergroups; requires canDeleteMessages administrator privileges.
chatId
- Chat identifier.