Method

TalkatuMessageget_attachment

Declaration [src]

TalkatuAttachment*
talkatu_message_get_attachment (
  TalkatuMessage* message,
  guint64 id
)

Description [src]

Retrieves the TalkatuAttachment identified by id from message.

Parameters

id

Type: guint64

The id of the TalkatuAttachment to get.

Return value

Type: TalkatuAttachment

The TalkatuAttachment if it was found, otherwise NULL.

The caller of the method takes ownership of the data, and is responsible for freeing it.