定義從 pubsub 傳送到頻道,以及從頻道傳送回 pubsub 的訊息。
訊息格式需要下列金鑰
:topic
:event
:payload
@type t() :: %Phoenix.Socket.Broadcast{event: term(), payload: term(), topic: term()}