-
Notifications
You must be signed in to change notification settings - Fork 11
report
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.extensions / ChatKtx / report
open suspend fun
Chat
.report(reason:
ChatReportReason
?, messageIds:
LongArray
?):
Unit
Suspend function, which reports a chat to the Telegram moderators. Supported only for supergroups, channels, or private chats with bots, since other chats can't be checked by moderators, or when the report is done from the chat action bar.
reason
- The reason for reporting the chat.
messageIds
- Identifiers of reported messages, if any.