Layer 220
MessagesReportEncryptedSpam
Report a secret chat for spam
method
Users
messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputEncryptedChat | The secret chat to report |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHAT_ID_INVALID | The provided chat id is invalid. |
Gogram Example
// MessagesReportEncryptedSpam - positional arguments result, err := client.MessagesReportEncryptedSpam(&tg.InputEncryptedChat{}) if err != nil { // handle error } // result is *tg.Bool