Constructor
PurpleConversationnew
Declaration [src]
PurpleConversation*
purple_conversation_new (
PurpleAccount* account,
PurpleConversationType conversation_type,
const char* id
)
Parameters
account-
Type:
PurpleAccountThe account.
The data is owned by the caller of the function. conversation_type-
Type:
PurpleConversationTypeThe conversation type.
id-
Type:
const char*The id of the conversation.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PurpleConversation
The new instance.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |