Method

PurpleAccountrequest_add

Declaration [src]

void
purple_account_request_add (
  PurpleAccount* account,
  const char* remote_user,
  const char* alias,
  const char* message
)

Description [src]

Notifies the user that the account was added to a remote user’s buddy list and asks the user if they want to add the remote user to their buddy list.

This will present a dialog informing the local user that the remote user added them to the remote user’s buddy list and will ask if they want to add the remote user to the buddy list.

Parameters

remote_user const char*
 

The name of the user that added this account.

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

The optional alias of the user.

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

The optional message sent from the user adding you.

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