get_chat_state


Description:

[ Version ( deprecated = true , since = "0.11.3" ) ]
public ChannelChatState get_chat_state (Handle contact)

Warning: get_chat_state is deprecated.

Return the chat state for the given contact.

Note:

Use get_chat_state instead.

If is_prepared would return false for the feature TP_CHANNEL_FEATURE_CHAT_STATES, the result will always be INACTIVE.

Parameters:

this

a channel

contact

a contact handle

Returns:

the chat state for contact, or INACTIVE if their chat state is not known