Method

TalkatuMessageadd_attachment

Declaration [src]

gboolean
talkatu_message_add_attachment (
  TalkatuMessage* message,
  TalkatuAttachment* attachment
)

Description [src]

Adds attachment to message.

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

Parameters

attachment

Type: TalkatuAttachment

The TalkatuAttachment instance.

The data is owned by the caller of the method.

Return value

Type: gboolean

No description available.