reportStories

Report multiple stories. USER-ONLY

Parameters

chatId: ID

The identifier of a chat that posted the stories.

storyIds: number[]

The identifiers of the stories to report.

option?: string

The option of the report.

text?: string

The text of the report.

Result

Syntax

// Required parameters only.
await client.reportStories(chatId, storyIds);

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