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_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_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_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_nick

Sets your nickname (used for highlighting) for a chat.

purple_chat_conversation_set_topic

Sets the chat room’s topic.

Methods inherited from PurpleConversation (52)

Please see PurpleConversation for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.ChatConversation:chat-id
No description available.

Purple.ChatConversation:left
No description available.

Properties inherited from PurpleConversation (20)
Purple.Conversation:account
No description available.

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
No description available.

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
No description available.

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
No description available.

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

Purple.ChatConversation::user-left

Emitted after a username has left 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.

Class structure

struct PurpleChatConversationClass {
  PurpleConversationClass parent_class;
  
}

Base class for all PurpleChatConversations.

Class members
parent_class: PurpleConversationClass
No description available.