reportStory

Report a single story. USER-ONLY

Parameters

chatId: ID

The identifier of a chat that posted the story.

storyId: number

The identifier of the story to report.

option?: string

The option of the report.

text?: string

The text of the report.

Result

Syntax

// Required parameters only.
await client.reportStory(chatId, storyId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.reportStory(chatId, storyId, { option, text });