Package org.drinkless.tdlib
Class TdApi.CreateVideoChat
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.CreateVideoChat
-
- Enclosing class:
- TdApi
public static class TdApi.CreateVideoChat extends TdApi.Function
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
Fields Modifier and Type Field Description longchatIdChat identifier, in which the video chat will be created.static intCONSTRUCTORIdentifier uniquely determining type of the object.intstartDatePoint in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 to start the video chat immediately.StringtitleGroup call title; if empty, chat title will be used.
-
Constructor Summary
Constructors Constructor Description CreateVideoChat()Default constructor for a function, which creates a video chat (a group call bound to a chat).CreateVideoChat(long chatId, String title, int startDate)Creates a function, which creates a video chat (a group call bound to a chat).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier, in which the video chat will be created.
-
title
public String title
Group call title; if empty, chat title will be used.
-
startDate
public int startDate
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.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateVideoChat
public CreateVideoChat()
Default constructor for a function, which creates a video chat (a group call bound to a chat). Available only for basic groups, supergroups and channels; requires canManageVideoChats rights.Returns
GroupCallId
-
CreateVideoChat
public CreateVideoChat(long chatId, String title, int startDate)Creates a function, which creates a video chat (a group call bound to a chat). Available only for basic groups, supergroups and channels; requires canManageVideoChats rights.Returns
GroupCallId- Parameters:
chatId- Chat identifier, in which the video chat will be created.title- Group call title; if empty, chat title will be used.startDate- 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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-