account.reportPeer
Report a peer for violation of telegram's Terms of Service
Example
TL schema
Parameters
Name | Type | Description |
peer | The peer to report | |
reason | The reason why this peer is being reported |
Result
Possible errors
Code | Type | Description |
400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup |
400 | PEER_ID_INVALID | The provided peer id is invalid |
Can bots use this methd ?
yes
Related pages
Last updated