ChatMessageMetadata

Helpers to encode and decode metadata for a ChatMessageType