Inherits Function.
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.
Returns object_ptr<GroupCallId>.
|
|
int53 | chat_id_ |
| | Identifier of a chat in which the video chat will be created.
|
|
bool | is_rtmp_stream_ |
| | Pass true to create an RTMP stream instead of an ordinary video chat.
|
|
int32 | start_date_ |
| | 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.
|
|
string | title_ |
| | Group call title; if empty, chat title will be used.
|
|
|
static const std::int32_t | ID = 2124715405 |
| | Identifier uniquely determining a type of the object.
|
◆ createVideoChat() [1/2]
Default constructor for a function, which 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.
Returns object_ptr<GroupCallId>.
◆ createVideoChat() [2/2]
| createVideoChat |
( |
int53 | chat_id_, |
|
|
string const & | title_, |
|
|
int32 | start_date_, |
|
|
bool | is_rtmp_stream_ ) |
Creates a function, which 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.
Returns object_ptr<GroupCallId>.
- Parameters
-
| [in] | chat_id_ | Identifier of a chat in which the video chat will be created. |
| [in] | title_ | Group call title; if empty, chat title will be used. |
| [in] | start_date_ | 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. |
| [in] | is_rtmp_stream_ | Pass true to create an RTMP stream instead of an ordinary video chat. |
◆ store()
| void store |
( |
TlStorerToString & | s, |
|
|
const char * | field_name ) const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements TlObject.
The documentation for this class was generated from the following file: