Method

PurpleAttachmentsfind_with_id

unstable since: 3.0

Declaration [src]

PurpleAttachment*
purple_attachments_find_with_id (
  PurpleAttachments* attachments,
  const char* id
)

Description [src]

Looks for an attachment matching the given id.

Available since: 3.0

Parameters

id

Type: const char*

The id.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: PurpleAttachment

The attachment if found.

The returned data is owned by the instance.
The return value can be NULL.