Virtual Method

PurpleProtocolConversationjoin_channel_async

since: 3.0

Declaration [src]

void
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

Parameters

account

Type: PurpleAccount

The account that’s joining the channel.

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

Type: PurpleChannelJoinDetails

The details of the channel that’s being joined.

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.