Module matrix_sdk::attachment
source · Expand description
Types and traits for attachments.
Structs§
- Configuration for sending an attachment.
- Base metadata about an audio clip.
- Base metadata about a file.
- Base metadata about an image.
- Base metadata about a thumbnail.
- Base metadata about a video.
- A thumbnail to upload and send for an attachment.
Enums§
- Types of metadata for an attachment.
- ImageFormat
image-proc
An enumeration of supported image formats. Not all formats support both encoding and decoding. - ThumbnailFormat
image-proc
The format to use for encoding the thumbnail.
Functions§
- generate_image_thumbnail
image-proc
Generate a thumbnail for an image.