Constructor

PurpleConversationnew

Declaration [src]

PurpleConversation*
purple_conversation_new (
  PurpleAccount* account,
  PurpleConversationType conversation_type,
  const char* id
)

Description [src]

Creates a new conversation.

Parameters

account

Type: PurpleAccount

The account.

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

Type: PurpleConversationType

The 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.