-
Notifications
You must be signed in to change notification settings - Fork 11
report spam
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.extensions / SupergroupKtx / reportSpam
open suspend fun
Supergroup
.reportSpam(userId:
Int
, messageIds:
LongArray
?):
Unit
Suspend function, which reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup.
userId
- User identifier.
messageIds
- Identifiers of messages sent in the supergroup by the user. This list must be
non-empty.