messages.reportEncryptedSpam #

Report a secret chat for spam

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;

Parameters #

NameTypeDescription
peerInputEncryptedChatThe secret chat to report

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHAT_ID_INVALIDThe provided chat id is invalid.