Skip to content

reportChannelSpam

Sahri Riza Umami edited this page Mar 15, 2017 · 4 revisions

Reports some supergroup channel messages from a user as spam messages.

reportChannelSpam(channel_id, user_id, message_ids)
Option Description
channel_id Channel identifier.
user_id User identifier.
message_ids Identifiers of messages sent in the supergroup by the user, the list should be non-empty.

Example

  • Reports message 212, 101, and 666 sent by 133780085 in chat 1234567890 as spam.

    reportChannelSpam(1234567890, 133780085, {[0] = 212, 101, 666})

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally