Function

Purpleserv_got_chat_invite

Declaration [src]

void
purple_serv_got_chat_invite (
  PurpleConnection* gc,
  const char* name,
  const char* who,
  const char* message,
  GHashTable* data
)

Description [src]

Called by a protocol when an account is invited into a chat.

Parameters

gc

Type: PurpleConnection

The connection on which the invite arrived.

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

Type: const char*

The name of the chat you’re being invited to.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
who

Type: const char*

The username of the person inviting the account.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
message

Type: const char*

The optional invite message.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
data

Type: GHashTable

The components necessary if you want to call purple_serv_join_chat(). The hash function should be g_str_hash() and the equal function should be g_str_equal().

The data is owned by the caller of the function.