CreateVideoChat class

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

Returns GroupCallId.

Inheritance
Available Extensions

Constructors

CreateVideoChat({required int chat_id, String? title, required int start_date, required bool is_rtmp_stream, int? extra, int? clientId})
Creates a video chat (a group call bound to a chat). Available only for basic groups, supergroups and channels; requires can_manage_video_chats rights

Properties

chat_id int
Identifier of a chat in which the video chat will be created.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
is_rtmp_stream bool
Pass true to create an RTMP stream instead of an ordinary video chat; requires creator privileges.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
start_date int
Point in time (Unix timestamp) when the group call is supposed 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.
read / write
title String?
Group call title; if empty, chat title will be used.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) CreateVideoChat?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"createVideoChat"