-
Notifications
You must be signed in to change notification settings - Fork 11
delete chat messages from user
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.coroutines / deleteChatMessagesFromUser
suspend fun
TelegramFlow
.deleteChatMessagesFromUser(chatId:
Long
, userId:
Int
):
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.
userId
- User identifier.