Class
PurpleChatConversation
Description [src]
class Purple.ChatConversation : Purple.Conversation {
parent_object: PurpleConversation
}
Structure representing a chat conversation instance.
Constructors
purple_chat_conversation_new
Creates a new chat conversation.
Instance methods
purple_chat_conversation_add_user
Adds a user to a chat.
purple_chat_conversation_add_users
Adds a list of users to a chat.
purple_chat_conversation_clear_users
Clears all users from a chat.
purple_chat_conversation_find_user
Find a chat user in a chat.
purple_chat_conversation_get_id
Gets the chat room’s ID.
purple_chat_conversation_get_ignored
Returns the list of ignored users in the chat room.
purple_chat_conversation_get_ignored_user
Returns the actual name of the specified ignored user, if it exists in the ignore list.
purple_chat_conversation_get_nick
Gets your nickname (used for highlighting) for a chat.
purple_chat_conversation_get_topic
Returns the chat room’s topic.
purple_chat_conversation_get_topic_who
Returns who set the chat room’s topic.
purple_chat_conversation_get_users
Returns a list of users in the chat room. The members of the list are PurpleChatUser objects.
purple_chat_conversation_get_users_count
Returns count of users in the chat room.
purple_chat_conversation_has_left
Gets whether we’re no longer in this chat, and just left the window open.
purple_chat_conversation_has_user
Checks if a user is in a chat.
purple_chat_conversation_ignore
Ignores a user in a chat room.
purple_chat_conversation_invite_user
Invite a user to a chat. The user will be prompted to enter the user’s name or a message if one is not given.
purple_chat_conversation_is_ignored_user
Returns TRUE
if the specified user is ignored.
purple_chat_conversation_leave
Lets the core know we left a chat, without destroying it. Called from purple_serv_got_chat_left().
purple_chat_conversation_remove_user
Removes a user from a chat, optionally with a reason.
purple_chat_conversation_remove_users
Removes a list of users from a chat, optionally with a single reason.
purple_chat_conversation_rename_user
Renames a user in a chat.
purple_chat_conversation_set_id
Sets the chat room’s ID.
purple_chat_conversation_set_ignored
Sets the list of ignored users in the chat room.
purple_chat_conversation_set_nick
Sets your nickname (used for highlighting) for a chat.
purple_chat_conversation_set_topic
Sets the chat room’s topic.
purple_chat_conversation_unignore
Unignores a user in a chat room.
Methods inherited from PurpleConversation (23)
purple_conversation_autoset_title
Automatically sets the specified conversation’s title.
purple_conversation_clear_message_history
Clear the message history of a conversation.
purple_conversation_get_account
Returns the specified conversation’s purple_account.
purple_conversation_get_connection
Returns the specified conversation’s purple_connection.
purple_conversation_get_extended_menu
Retrieves the extended menu items for the conversation.
purple_conversation_get_features
Get the features supported by the given conversation.
purple_conversation_get_message_history
Retrieve the message history of a conversation.
purple_conversation_get_name
Returns the specified conversation’s name.
purple_conversation_get_title
Returns the specified conversation’s title.
purple_conversation_get_ui_ops
Returns the specified conversation’s UI operations structure.
purple_conversation_has_focus
Determines if a conversation has focus.
purple_conversation_present
Present a conversation to the user. This allows core code to initiate a conversation by displaying the IM dialog.
purple_conversation_send
Sends a message to this conversation. This function calls
purple_conversation_send_with_flags()
with no additional flags.
purple_conversation_send_confirm
Sends a message to a conversation after confirming with the user.
purple_conversation_send_with_flags
Sends a message to this conversation with specified flags.
purple_conversation_set_account
Sets the specified conversation’s purple_account.
purple_conversation_set_features
Set the features as supported for the given conversation.
purple_conversation_set_name
Sets the specified conversation’s name.
purple_conversation_set_title
Sets the specified conversation’s title.
purple_conversation_set_ui_ops
Sets the specified conversation’s UI operations structure.
purple_conversation_update
Updates the visual status and UI of a conversation.
purple_conversation_write_message
Writes to a chat or an IM.
purple_conversation_write_system_message
Wites a system message to a chat or an IM.
Properties
Purple.ChatConversation:chat-id
Purple.ChatConversation:left
Purple.ChatConversation:nick
Purple.ChatConversation:topic
Purple.ChatConversation:topic-who
Properties inherited from PurpleConversation (4)
Purple.Conversation:account
Purple.Conversation:features
Purple.Conversation:name
Purple.Conversation:title
Signals
Purple.ChatConversation::user-joined
Emitted after a username
has joined the conversation.
Available since: 3.0.0
Purple.ChatConversation::user-left
Emitted after a username
has left the conversation.
Available since: 3.0.0
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.