Method
PurpleConversationsend_message_async
unstable since: 3.0
Declaration [src]
void
purple_conversation_send_message_async (
PurpleConversation* conversation,
PurpleMessage* message,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Sends message to conversation.
This will lookup the account and protocol plugin that conversation belongs
to and call purple_protocol_conversation_send_message_async() for message.
You will need to call purple_conversation_send_message_finish() from
callback.
This will also reset PurpleConversation:typing-state to none.
Available since: 3.0
This method completes asynchronously. Use purple_conversation_send_message_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
message-
Type:
PurpleMessageThe message to send.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableOptional GCancellable object,
NULLto ignore.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe callback to call after the conversation has been created.
The argument can be NULL. data-
Type:
gpointerOptional user data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.