Constructor
PurpleMessagenew_with_id
unstable since: 3.0
Declaration [src]
PurpleMessage*
purple_message_new_with_id (
const char* id,
PurpleConversationMember* author,
const char* contents
)
Parameters
id-
Type:
const char*The id.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. author-
Type:
PurpleConversationMemberThe author.
The data is owned by the caller of the function. contents-
Type:
const char*The contents.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PurpleMessage
The new message.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |