- Enclosing class:
- TdApi
Creates a video chat (a group call
bound to a chat). Available only for
basic groups, supergroups and channels;
requires canManageVideoChats rights.
Returns
GroupCallId
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier, in which the video chat will be created.static final int
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.Group call title; if empty, chat title will be used. -
Constructor Summary
ConstructorDescriptionCreates a video chat (a group call bound to a chat).CreateVideoChat
(long chatId, String title, int startDate) Creates a video chat (a group call bound to a chat).CreateVideoChat
(DataInput input) Creates a video chat (a group call bound to a chat). -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier, in which the video chat will be created. -
title
Group call title; if empty, chat title will be used. -
startDate
public int startDatePoint 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CreateVideoChat
public CreateVideoChat()Creates a video chat (a group call bound to a chat). Available only for basic groups, supergroups and channels; requires canManageVideoChats rights. ReturnsGroupCallId
-
CreateVideoChat
Creates a video chat (a group call bound to a chat). Available only for basic groups, supergroups and channels; requires canManageVideoChats rights. ReturnsGroupCallId
- Parameters:
chatId
- long Chat identifier, in which the video chat will be created.title
- String Group call title; if empty, chat title will be used.startDate
- 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.
-
CreateVideoChat
Creates a video chat (a group call bound to a chat). Available only for basic groups, supergroups and channels; requires canManageVideoChats rights. ReturnsGroupCallId
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-