Purple.Conversation – purple Reference Manual
Conversation
Object Hierarchy:
Purple.Conversation
Purple.Conversation
Purple.Conversation
Description:
[
CCode
( free_function =
"purple_conversation_destroy"
) ]
[
Compact
]
public
class
Conversation
Namespace:
Purple
Package:
purple
Content:
Static methods:
public
static
void
@foreach
(
Callback
func)
public
static
MessageFlags
message_get_flags
(
ConvMessage
msg)
public
static
unowned
string
message_get_message
(
ConvMessage
msg)
public
static
unowned
string
message_get_sender
(
ConvMessage
msg)
public
static
time_t
message_get_timestamp
(
ConvMessage
msg)
Creation methods:
public
Conversation
(
ConversationType
type,
Account
account,
string
name)
Methods:
public
void
autoset_title
()
public
void
clear_message_history
()
public
void
close_logs
()
public
bool
do_command
(
string
cmdline,
string
markup,
string
error)
public
unowned
Account
get_account
()
public
unowned
ConvChat
get_chat_data
()
public
void
*
get_data
(
string
key)
public
unowned
List
get_extended_menu
()
public
ConnectionFlags
get_features
()
public
unowned
Connection
get_gc
()
public
unowned
ConvIm
get_im_data
()
public
unowned
List
get_message_history
()
public
unowned
string
get_name
()
public
unowned
string
get_title
()
public
unowned
ConversationUiOps
get_ui_ops
()
public
bool
has_focus
()
public
bool
is_logging
()
public
void
present
()
public
void
set_account
(
Account
account)
public
void
set_data
(
string
key,
void
* data)
public
void
set_features
(
ConnectionFlags
features)
public
void
set_logging
(
bool
log)
public
void
set_name
(
string
name)
public
void
set_title
(
string
title)
public
void
set_ui_ops
(
ConversationUiOps
ops)
public
void
update
(
ConvUpdateType
type)
public
void
write
(
string
who,
string
message,
MessageFlags
flags,
time_t
mtime)
Fields:
public
unowned
Account
account
public
unowned
HashTable
data
public
ConnectionFlags
features
public
bool
logging
public
unowned
List
logs
public
unowned
List
message_history
public
unowned
string
name
public
unowned
string
title
public
ConversationType
type
public
void
*
u
public
void
*
ui_data
public
unowned
ConversationUiOps
ui_ops
2022 vala-language.org