mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd:Ⓜ️:room::message: Add url to tuple; minor reorg.
This commit is contained in:
parent
183e18dde5
commit
8461fbcbd5
1 changed files with 9 additions and 6 deletions
|
@ -23,18 +23,21 @@ struct ircd::m::room::message
|
|||
/// Required. The body of the message.
|
||||
json::property<name::body, json::string>,
|
||||
|
||||
/// The format used in the formatted_body.
|
||||
json::property<name::format, json::string>,
|
||||
|
||||
/// The formatted version of the body. This is required if format
|
||||
/// is specified.
|
||||
json::property<name::formatted_body, json::string>,
|
||||
|
||||
/// m.relates_to
|
||||
json::property<name::m_relates_to, m::relates_to>,
|
||||
|
||||
/// Required. enum.
|
||||
json::property<name::msgtype, json::string>,
|
||||
|
||||
/// The format used in the formatted_body.
|
||||
json::property<name::format, json::string>,
|
||||
|
||||
/// The formatted version of the body. This is required if format
|
||||
/// is specified.
|
||||
json::property<name::formatted_body, json::string>
|
||||
/// mxc:// for media.
|
||||
json::property<name::url, json::string>
|
||||
>
|
||||
{
|
||||
/// The event ID of the message being replied to; empty if malformed or
|
||||
|
|
Loading…
Reference in a new issue