stories.report #

Report a story.

Layer 223

reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOption> = ReportResult;
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult;
reportResultReported#8db33c4b = ReportResult;
---functions---
stories.report#19d8eb45 peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;

Parameters #

NameTypeDescription
peerInputPeerThe peer that uploaded the story.
idVector<int>IDs of the stories to report.
optionbytesMenu option, intially empty
messagestringComment for report moderation

Result #

ReportResult

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.