Report a new incoming chat for spam, if the peer settings of the chat allow us to do that
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.reportSpam#cf1592db peer:InputPeer = Bool;
Name | Type | Description |
---|---|---|
peer | InputPeer | Peer to report |
Code | Type | Description |
---|---|---|
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. |
List of actions that are possible when interacting with this user, to be shown as suggested actions in the chat action bar », see here » for more info.