messages.ReportEncryptedSpam

class pyrogram.raw.functions.messages.ReportEncryptedSpam

Report a secret chat for spam

Details:
  • Layer: 223

  • ID: 4B0C8C0F

Parameters:

peer (InputEncryptedChat) – The secret chat to report

Returns:

bool

TL Schema

messages.reportEncryptedSpam#4b0c8c0f
peer:InputEncryptedChat

= Bool

Parameter Tree

ReportEncryptedSpam
└── peerInputEncryptedChat
├── chat_idint
└── access_hashlong

Example

await app.invoke(
    ReportEncryptedSpam(
        peer=InputEncryptedChat(
            chat_id=0,
            access_hash=0
        ),
    )
)