| Top |
| #define | MATRIX_MESSAGE_TYPE_FILE |
| MatrixMessageFile * | matrix_message_file_new () |
| const gchar * | matrix_message_file_get_filename () |
| void | matrix_message_file_set_filename () |
| const gchar * | matrix_message_file_get_url () |
| void | matrix_message_file_set_url () |
| MatrixFileInfo * | matrix_message_file_get_info () |
| void | matrix_message_file_set_info () |
| const gchar * | matrix_message_file_get_thumbnail_url () |
| void | matrix_message_file_set_thumbnail_url () |
| MatrixImageInfo * | matrix_message_file_get_thumbnail_info () |
| void | matrix_message_file_set_thumbnail_info () |
#define MATRIX_MESSAGE_TYPE_FILE (matrix_message_file_get_type ())
The type for MatrixMessageFile.
const gchar *
matrix_message_file_get_filename (MatrixMessageFile *self);
Get and return the current value of the "filename" property.
The original filename of the uploaded file.
void matrix_message_file_set_filename (MatrixMessageFile *self,const gchar *value);
Set the value of the "filename" property to value
.
The original filename of the uploaded file.
self |
the MatrixMessageFile instance to modify |
|
value |
the new value of the "filename" property |
const gchar *
matrix_message_file_get_url (MatrixMessageFile *self);
Get and return the current value of the "url" property.
The URL of the file.
void matrix_message_file_set_url (MatrixMessageFile *self,const gchar *value);
Set the value of the "url" property to value
.
The URL of the file.
MatrixFileInfo *
matrix_message_file_get_info (MatrixMessageFile *self);
Get and return the current value of the "info" property.
Information about the file referred to in url.
void matrix_message_file_set_info (MatrixMessageFile *self,MatrixFileInfo *value);
Set the value of the "info" property to value
.
Information about the file referred to in url.
const gchar *
matrix_message_file_get_thumbnail_url (MatrixMessageFile *self);
Get and return the current value of the "thumbnail-url" property.
The URL of the thumbnail of the file.
void matrix_message_file_set_thumbnail_url (MatrixMessageFile *self,const gchar *value);
Set the value of the "thumbnail-url" property to value
.
The URL of the thumbnail of the file.
self |
the MatrixMessageFile instance to modify |
|
value |
the new value of the "thumbnail-url" property |
MatrixImageInfo *
matrix_message_file_get_thumbnail_info
(MatrixMessageFile *self);
Get and return the current value of the "thumbnail-info" property.
Metadata about the image referred to in thumbnail_url.
void matrix_message_file_set_thumbnail_info (MatrixMessageFile *self,MatrixImageInfo *value);
Set the value of the "thumbnail-info" property to value
.
Metadata about the image referred to in thumbnail_url.
self |
the MatrixMessageFile instance to modify |
|
value |
the new value of the "thumbnail-info" property |
struct MatrixMessageFile {
MatrixMessageBase parent_instance;
MatrixMessageFilePrivate * priv;
};
Class to hold a m.file message
This message represents a generic file.
struct MatrixMessageFileClass {
MatrixMessageBaseClass parent_class;
};
The class structure for MATRIX_MESSAGE_TYPE_FILE. All the fields in this structure are private and should never be accessed directly.