Method

PurpleMessageremove_attachment

since: 3.0

Declaration [src]

gboolean
purple_message_remove_attachment (
  PurpleMessage* message,
  guint64 id
)

Description [src]

Removes the PurpleAttachment identified by id if it exists.

Available since: 3.0

Parameters

id

Type: guint64

The id of the PurpleAttachment.

Return value

Type: gboolean

TRUE if the PurpleAttachment was found and removed, FALSE otherwise.