supports_text_chatrooms


Description:

public bool supports_text_chatrooms ()

If the contact_specific property is false , this function checks if named text chatrooms can be joined by providing a chatroom identifier, for instance by calling AccountChannelRequest.text followed by set_target_id with ROOM.

If the contact_specific property is true , this function checks if the contact associated with this Capabilities can be invited to named text chatrooms.

If the protocol is such that chatrooms can be joined or contacts can be invited, 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, HandleTypeRoom as TargetHandleType and a channel identifier can be expected to work, false otherwise.