Class
PurpleChatConversation
Description [src]
class Purple.ChatConversation : Purple.Conversation {
parent_object: PurpleConversation
}
Structure representing a chat conversation instance.
Instance methods
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_has_left
Gets whether we’re no longer in this chat, and just left the window open.
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_leave
Lets the core know we left a chat, without destroying it. Called from purple_serv_got_chat_left().
purple_chat_conversation_remove_users
Removes a list of users from a chat, optionally with a single reason.
Methods inherited from PurpleConversation (52)
Please see PurpleConversation for a full list of methods.
Properties
Properties inherited from PurpleConversation (20)
Purple.Conversation:account
Purple.Conversation:age-restricted
Whether or not the conversation is age restricted.
since: 3.0.0
Purple.Conversation:created-on
The GDateTime
when this conversation was created. This can
be NULL
if the value is not known or supported.
since: 3.0.0
Purple.Conversation:creator
The PurpleContactInfo
that created the conversation.
since: 3.0.0
Purple.Conversation:description
Sets the description of the conversation. This field is typically used
to give more information about a conversation than that which would fit
in PurpleConversation:topic
.
since: 3.0.0
Purple.Conversation:favorite
Whether or not the conversation has been marked as favorite by the user.
since: 3.0.0
Purple.Conversation:features
Purple.Conversation:federated
Whether or this conversation is federated.
since: 3.0.0
Purple.Conversation:id
An opaque identifier for this conversation. Generally speaking this is protocol dependent and should only be used as a unique identifier.
since: 3.0.0
Purple.Conversation:members
The members that are currently in this conversation.
since: 3.0.0
Purple.Conversation:messages
A [iface.Gio.ListModel] of all the messages in this conversation.
since: 3.0.0
Purple.Conversation:name
Purple.Conversation:online
Whether or not the conversation is able to send and receive messages.
since: 3.0.0
Purple.Conversation:tags
PurpleTags
for the conversation.
since: 3.0.0
Purple.Conversation:title
Purple.Conversation:topic
The topic of the conversation.
since: 3.0.0
Purple.Conversation:topic-author
Sets the author of the topic for the conversation.
since: 3.0.0
Purple.Conversation:topic-updated
Set to the time that the topic was last updated.
since: 3.0.0
Purple.Conversation:type
A type hint for the conversation. This may be useful for protocols, but libpurple treats all conversations the same.
since: 3.0.0
Purple.Conversation:user-nickname
The user’s nickname in this conversation.
since: 3.0.0
Signals
Purple.ChatConversation::user-joined
Emitted after a username
has joined the conversation.
since: 3.0.0
Signals inherited from PurpleConversation (2)
PurpleConversation::member-added
Emitted when a new member is added to this conversation.
since: 3.0.0
PurpleConversation::member-removed
Emitted when member is removed from this conversation.
since: 3.0.0
Signals inherited from GObject (1)
GObject::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.