Story.report()¶
- async Story.report()[source]¶
Bound method report of
Story.Use as a shortcut for:
client.report_story(chat_id, story_id, reason, message, option)
- Parameters:
reason (
ReportReason|str, optional) – The reason for reporting. Defaults toSPAM.message (
str, optional) – Additional explanatory text or details about the report. Defaults to “”.option (
bytes, optional) – Specific report option bytes. Defaults to b””.
Example
await story.report(enums.ReportReason.SPAM)
- Returns:
bool– On success, True is returned.