@ably/chat
Version:
Ably Chat is a set of purpose-built APIs for a host of chat features enabling you to create 1:1, 1:Many, Many:1 and Many:Many chat rooms for any scale. It is designed to meet a wide range of chat use cases, such as livestreams, in-game communication, cust
11 lines (10 loc) • 456 B
text/typescript
/**
* The type for metadata contained in the operations field of a chat message.
* This is a key-value pair where the key is a string, and the value is a string, it represents the metadata supplied
* to a message update or deletion request.
*
* Do not use metadata for authoritative information. There is no server-side
* validation. When reading the metadata, treat it like user input.
*
*/
export type OperationMetadata = Record<string, string>;