scheduleVideoChat

Schedule a video chat. User-only.

Parameters

chatId: ID

The chat to schedule the video chat in.

startAt: Date

A point in time within the future in which the video chat will be started.

title?: string

The video chat’s title.

liveStream?: boolean

Whether this is going to be a live stream.

Result

The scheduled video chat.

Syntax

// Required parameters only.
await client.scheduleVideoChat(chatId, startAt);

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