Skip to main content

Module chat

Module chat 

Source
Expand description

Chat types and management — compact message storage.

Chat uses CompactMessageVec internally for memory efficiency. Use to_serializable() to convert to frontend-friendly SerializableChat.

Structs§

Chat
ChatMetadata
A chat row’s display metadata: string → string, which is all the frontend and the database ever see ({"custom_fields":{..}}, keys in byte order).
SerializableChat

Enums§

ChatType

Constants§

ACCEPTED_KEY
Metadata key a DM carries once its request was accepted without a reply.