supports_audio_video_call


Description:

[ Version ( since = "0.17.6" ) ]
public bool supports_audio_video_call (HandleType handle_type)

Return whether audio/video calls can be established, for instance by calling AccountChannelRequest.audio_video_call, followed by set_target_id with handle_type.

To check whether requests using set_target_contact would work, set handle_type to CONTACT.

Parameters:

this

a Capabilities object

handle_type

the handle type of the call; CONTACT for private, ROOM or NONE for conference (depending on the protocol)

Returns:

true if a channel request containing Call as ChannelType, handle_type as TargetHandleType, a True value for InitialAudio/InitialVideo and an identifier of the appropriate type can be expected to work, false otherwise.