mtx::events::msg::Audio struct

Content of m.room.message with msgtype m.audio.

Public variables

std::string body
A description of the audio or some kind of content description for accessibility.
std::string msgtype
Must be 'm.audio'.
std::string url
The matrix URL of the audio clip.
mtx::common::AudioInfo info
Metadata for the audio clip referred to in url.
std::optional<crypto::EncryptedFile> file
Encryption members. If present, they replace url.
mtx::common::Relations relations
Relates to for rich replies.
std::optional<mtx::common::Mentions> mentions
Mentioned users by this event.