Chat.report_spam()

async Chat.report_spam()[source]

Bound method report_spam of Chat.

Use as a shortcut for:

client.report_spam(chat_id)

Example

await chat.report_spam()
Returns:

bool – On success, True is returned.