messages.reportSpam
Report a new incoming chat for spam, if the peer settings of the chat allow us to do that
Example
TL schema
Parameters
Name | Type | Description |
peer | Peer to report |
Result
Possible errors
Code | Type | Description |
400 | MSG_ID_INVALID | Invalid message ID provided |
400 | PEER_ID_INVALID | The provided peer id is invalid |
Can bots use this methd ?
yes
Related pages
Peer settings
Last updated