> For the complete documentation index, see [llms.txt](https://docs.livedigital.chat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.livedigital.chat/socket-events.md).

# Socket events

We use [Centrifugo](https://centrifugal.dev/) as a socket layer, so every event comes as centrifugo [***publish***](https://centrifugal.dev/docs/server/server_api#publish) method.

Every event consists of 2 root variables:

* event: string
* payload: object of different structure
