Skip to main content

Module respond

Module respond 

Source

StructsΒ§

ExtractRelatesTo πŸ”’

EnumsΒ§

Mode πŸ”’
How a command’s output events relate back to the command event.

ConstantsΒ§

CONTENT_BUDGET πŸ”’
Largest serialized message content that still fits a single event.
EVENT_RESERVE πŸ”’
Envelope overhead reserved above the message content: prev and auth event ids at their maximum, 255-byte sender and room ids, and the signatures block, just under 10 KiB in the worst legal case.
RELATION_RESERVE πŸ”’
Serialized size reserved for an m.relates_to relation carrying a maximum-length event id, so a segment measured without its relation still fits once the relation is attached.
SEGMENT_BUDGET πŸ”’
Largest serialized segment content, before its relation, that fits an event.

FunctionsΒ§

command_thread πŸ”’
The thread root of the command event when it was itself sent inside a thread, so the output joins that thread rather than starting a new relation.
fits_segment πŸ”’
notice πŸ”’
reply_relation πŸ”’
thread_relation πŸ”’

Type AliasesΒ§

MessageRelation πŸ”’
Room event relation carried by an admin response.