Method

PurpleProtocolConversationcreate_conversation_async

since: 3.0

Declaration [src]

void
purple_protocol_conversation_create_conversation_async (
  PurpleProtocolConversation* protocol,
  PurpleAccount* account,
  PurpleCreateConversationDetails* details,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Starts the process of creating a dm or group dm conversation on account.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The account.

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

Type: PurpleCreateConversationDetails

The create conversation details.

The instance takes ownership of the data, and is responsible for freeing it.
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 conversation has been created.

The argument can be NULL.
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.