msgReport (39)
The msgReport message is used by a user to report a specific message to a moderator, who is typically a bot managing a group or channel. This serves as a fundamental tool for community moderation.
Core Data Types
IxiBytes: See IxiBytes Encoding.
Payload Structure
The payload contains the unique ID of the message being reported.
| Field | Data Type | Min | Max | Description |
|---|---|---|---|---|
reportedMessageId | IxiBytes | 16 | 64 | The unique ID of the message that is being reported for moderation. |
Behavioral Notes
- Target Audience: This message is almost exclusively sent to bot addresses. Standard clients receiving this message may ignore it, as moderation actions are the responsibility of the bot/service.
- Moderator Action: Upon receiving a
msgReport, a bot should log the report, linking thereportedMessageId, the reporter (from theStreamMessagesender), and the original author of the reported message. The bot may then apply its moderation rules, such as automatic deletion, user warnings, or notifying human administrators. - Signature Requirement: The
StreamMessagecarrying this report MUST be signed. The recipient bot uses this signature to verify the identity of the user filing the report, preventing anonymous or spoofed reports.