supports_text_chats


Description:

public bool supports_text_chats ()

Return whether private text channels can be established by providing a contact identifier, for instance by calling AccountChannelRequest.text followed by set_target_contact.

If the protocol is such that text chats can be established, but only via a more elaborate D-Bus API than normal (because more information is needed), then this method will return false.

Parameters:

this

a Capabilities object

Returns:

true if a channel request containing Text as ChannelType, HandleTypeContact as TargetHandleType and a contact identifier can be expected to work, false otherwise.