Layer 220
method Users
messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;

Parameters

Name Type Description
Peer InputEncryptedChat The secret chat to report

Returns

Bool

Possible 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