Skip to content

createVideoChat

Function · TDLib 1.8.67 · d1085f9c

Creates a video chat (a group call bound to a chat); for basic groups, supergroups and channels only; requires can_manage_video_chats administrator right

createVideoChat(
  chat_id: int53,
  title: string,
  start_date: int32,
  is_rtmp_stream: Bool
) → GroupCallId

chat_id

int53

Identifier of a chat in which the video chat will be created

title

string

Group call title; if empty, chat title will be used

start_date

int32

Point in time (Unix timestamp) when the group call is expected to be started by an administrator; 0 to start the video chat immediately. The date must be at least 10 seconds and at most 8 days in the future

is_rtmp_stream

Bool

Pass true to create an RTMP stream instead of an ordinary video chat