GitHubEmpezar

Esta página aún no está traducida al español, por lo que se muestra la versión en inglés.

Más

Social chat

social.Chat provides canonical room, group and DM channel IDs, bounded JSON messages, history paging, sender edits/deletes and a pre-send moderation hook.

Chat.Join, Leave and Members maintain deterministic online membership snapshots. HistoryBefore pages older messages by an exclusive message ID. Retention with Sweep removes expired history, and Now makes retention and message timestamps deterministic in tests. Chat state is protected for concurrent send, history and membership calls. A group channel takes messages only from accounts that have joined it, a DM channel only from its two accounts, and Blocks (for example Graph.Blocked) refuses a DM when either account blocks the other. Send and Edit refuse content over MaxBytes or that is not valid JSON. SQL persistence, reports, typing/read events and transport adapters remain service work.

Editar esta página