Virtual Method

PurpleProtocolConversationsend_message_async

since: 3.0

Declaration [src]

void
send_message_async (
  PurpleProtocolConversation* protocol,
  PurpleConversation* conversation,
  PurpleMessage* message,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Starts the process of sending message to conversation.

Available since: 3.0

Parameters

conversation

Type: PurpleConversation

The conversation to send a message to.

The data is owned by the caller of the function.
message

Type: PurpleMessage

The message to send.

The data is owned by the caller of the function.
cancellable

Type: GCancellable

Optional GCancellable object, NULL to ignore.

The argument can be NULL.
The data is owned by the caller of the function.
callback

Type: GAsyncReadyCallback

The callback to call after the message has been sent.

data

Type: gpointer

Optional user data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the function.