AccountChannelRequest.audio_video_call


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.19.0" ) ]
public AccountChannelRequest.audio_video_call (Account account, int64 user_action_time)

Convenience function to create a new AccountChannelRequest object which will yield a Call channel, initially carrying both audio and video.

This is the same as AccountChannelRequest.audio_call, except that the channel will initially carry video as well as audio, and instead of using supports_audio_call you should test capabilities with supports_audio_video_call.

See the documentation of AccountChannelRequest.audio_call for details of how to set the target (contact, chatroom etc.) for the call.

Parameters:

account

a Account

user_action_time

the time of the user action that caused this request, or one of the special values USER_ACTION_TIME_NOT_USER_ACTION or TP_USER_ACTION_TIME_CURRENT_TIME (see user_action_time)

Returns:

a new AccountChannelRequest object




2022 vala-language.org