messages.reportSpam
Report a new incoming chat for spam, if the peer settings of the chat allow us to do that
Report a new incoming chat for spam, if the [peer settings](https://core.telegram.org/constructor/peerSettings.md) of the chat allow us to do that
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | Peer to report |
レスポンス
Bool
MTProto RPC
- 400 · CHANNEL_PRIVATE — You haven't joined this channel/supergroup.
- 400 · MSG_ID_INVALID — Invalid message ID provided.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.