Layer 220
method Users
stories.report#19d8eb45 peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;

Parameters

Name Type Description
Peer InputPeer The peer that uploaded the story.
Id Vector<int> IDs of the stories to report.
Option bytes Menu option, intially empty
Message string Comment for report moderation

Returns

ReportResult

Possible Errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Gogram Example

// StoriesReport - positional arguments
result, err := client.StoriesReport(&tg.InputPeerUser{UserID: int64(123456789)}, []int{}, []byte{}, "...")
if err != nil {
    // handle error
}
// result is *tg.ReportResult