Method
PurpleProtocolConversationjoin_channel_async
unstable since: 3.0
Declaration [src]
void
purple_protocol_conversation_join_channel_async (
  PurpleProtocolConversation* protocol,
  PurpleAccount* account,
  PurpleChannelJoinDetails* details,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)
      Description [src]
Attempts to join the channel identified by details using account.
If the channel is joined successfully, it is the responsibility of
protocol to add the conversation to the PurpleConversationManager during
this process.
Available since: 3.0
This method completes asynchronously. Use purple_protocol_conversation_join_channel_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
account- 
            
Type:
PurpleAccountThe account that’s joining the channel.
The data is owned by the caller of the method.  details- 
            
Type:
PurpleChannelJoinDetailsThe details of the channel that’s being joined.
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 message has been sent.
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.