Class TdApi.CreateVideoChat
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.GroupCallId>
dev.voroby.springframework.telegram.client.TdApi.CreateVideoChat
- Enclosing class:
- TdApi
Creates a video chat (a group call bound to a chat). Available only for basic groups, supergroups and channels; requires canManageVideoChats administrator right.
Returns GroupCallId
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of a chat in which the video chat will be created.static final int
Identifier uniquely determining type of the object.boolean
Pass true to create an RTMP stream instead of an ordinary video chat; requires owner privileges.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
ConstructorDescriptionDefault constructor for a function, which creates a video chat (a group call bound to a chat).CreateVideoChat
(long chatId, String title, int startDate, boolean isRtmpStream) Creates a function, which creates a video chat (a group call bound to a chat). -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdIdentifier of a chat 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. -
isRtmpStream
public boolean isRtmpStreamPass true to create an RTMP stream instead of an ordinary video chat; requires owner privileges. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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 administrator right.Returns
GroupCallId
-
CreateVideoChat
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 administrator right.Returns
GroupCallId
- Parameters:
chatId
- Identifier of a chat 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.isRtmpStream
- Pass true to create an RTMP stream instead of an ordinary video chat; requires owner privileges.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-