Method

PurpleChatConversationinvite_user

since: 3.0

Declaration [src]

void
purple_chat_conversation_invite_user (
  PurpleChatConversation* chat,
  const gchar* user,
  const gchar* message,
  gboolean confirm
)

Description [src]

Invite a user to a chat. The user will be prompted to enter the user’s name or a message if one is not given.

Available since: 3.0

Parameters

user

Type: const gchar*

The user to invite to the chat.

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

Type: const gchar*

The message to send with the invitation.

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

Type: gboolean

Prompt before sending the invitation. The user is always prompted if either user or message is NULL.