lib/tdlib/client_methods.rb
# 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.
#
# @param chat_id [Integer] Chat identifier, in which the video chat will be created.
# @param title [TD::Types::String, nil] Group call title; if empty, chat title will be used.
# @param start_date [Integer] 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.
# @return [TD::Types::GroupCallId]
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.
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 .
def create_video_chat(chat_id:, title: nil, start_date:)
    broadcast('@type'      => 'createVideoChat',
              'chat_id'    => chat_id,
              'title'      => title,
              'start_date' => start_date)
  end
def create_video_chat ( chat_id : , title : nil , start_date : ) broadcast ( '@type' => 'createVideoChat' , 'chat_id' => chat_id , 'title' => title , 'start_date' => start_date ) end
Creates a video chat (a group call bound to a chat).
Creates a video chat ( a group call bound to a chat ) .
None
TD::Types::GroupCallId
chat_id
Chat identifier, in which the video chat will be created.
Chat identifier in which the video chat will be created .
title
Group call title; if empty, chat title will be used.
Group call title ; if empty chat title will be used .
start_date
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.
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 .