Method
PurpleAttachmentset_content_type
unstable since: 3.0
[−]
Declaration [src]
void
purple_attachment_set_content_type (
PurpleAttachment* attachment,
const char* content_type
)
[−]
Description [src]
Sets the content type of the attachment.
Available since: 3.0
Sets property | Purple.Attachment:content-type |
[−]
Parameters
content_type
-
Type:
const char*
The new content-type.
The argument can be NULL
.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.