messages.report
Report a message in a chat for violation of telegram's Terms of Service
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | Peer |
id | Vector<int> | Yes | IDs of messages to report |
option | bytes | Yes | Menu option, intially empty |
message | string | Yes | Comment for report moderation |
Replies
ReportResult
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 400 · CHANNEL_PRIVATE — You haven't joined this channel/supergroup.
- 400 · MESSAGE_REQUIRED — A non-empty list of IDs must be passed to id.
- 400 · OPTION_INVALID — Invalid option selected.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.