messages.report
Report a message in a chat for violation of telegram's Terms of Service
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | ピア |
id | Vector<int> | はい | IDs of messages to report |
option | bytes | はい | Menu option, intially empty |
message | string | はい | Comment for report moderation |
レスポンス
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.