startVideoChat

Start a video chat. User-only.

PARAMETERS
chatId: ID

The chat to start the video chat in.

title?: string

The video chat’s title.

liveStream?: boolean

Whether this is going to be a live stream.

RESULT

The started video chat.

SYNTAX
// Required parameters only.
await client.startVideoChat(chatId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.startVideoChat(chatId, { title, liveStream });