mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +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.
|
/// Required. The body of the message.
|
||||||
json::property<name::body, json::string>,
|
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
|
/// m.relates_to
|
||||||
json::property<name::m_relates_to, m::relates_to>,
|
json::property<name::m_relates_to, m::relates_to>,
|
||||||
|
|
||||||
/// Required. enum.
|
/// Required. enum.
|
||||||
json::property<name::msgtype, json::string>,
|
json::property<name::msgtype, json::string>,
|
||||||
|
|
||||||
/// The format used in the formatted_body.
|
/// mxc:// for media.
|
||||||
json::property<name::format, json::string>,
|
json::property<name::url, json::string>
|
||||||
|
|
||||||
/// The formatted version of the body. This is required if format
|
|
||||||
/// is specified.
|
|
||||||
json::property<name::formatted_body, json::string>
|
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
/// The event ID of the message being replied to; empty if malformed or
|
/// The event ID of the message being replied to; empty if malformed or
|
||||||
|
|
Loading…
Reference in a new issue