Class
PurpleAttachment
unstable since: 3.0
[−]
Constructors
purple_attachment_new
Creates a new PurpleAttachment
with the given id
and content_type
.
unstable since: 3.0
[−]
Instance methods
purple_attachment_get_filename
Gets the base filename for attachment
. Remote URI will be checked before
local URI, but the basename of one of those is what will be returned.
unstable since: 3.0
purple_attachment_get_inline
Gets whether or not the attach should be displayed inline.
unstable since: 3.0
purple_attachment_set_inline
Sets whether or not the attachment should be displayed inline.
unstable since: 3.0
[−]
Properties
Purple.Attachment:content-type
The content type of this attachment. This should be a commonly used mime type.
unstable since: 3.0
Purple.Attachment:local-uri
The local URI of the attachment. That is where the file can be found on disk.
unstable since: 3.0
Purple.Attachment:remote-uri
The remote URI of the attachment. In most cases this is just a base filename.
unstable since: 3.0
[+]