Method
PurpleProtocolConversationcreate_conversation_async
unstable 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
This method completes asynchronously. Use purple_protocol_conversation_create_conversation_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
account- 
            
Type:
PurpleAccountThe account.
The data is owned by the caller of the method.  details- 
            
Type:
PurpleCreateConversationDetailsThe create conversation details.
The instance takes ownership of the data, and is responsible for freeing it.  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.