Method

PurpleMessageadd_attachment

unstable since: 3.0

Declaration [src]

gboolean
purple_message_add_attachment (
  PurpleMessage* message,
  PurpleAttachment* attachment
)

Description [src]

Adds attachment to message.

Available since: 3.0

Parameters

attachment

Type: PurpleAttachment

The PurpleAttachment instance.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if an attachment with the same ID did not already exist.