# `Phoenix.Socket.Reply`
[🔗](https://github.com/phoenixframework/phoenix/blob/v1.8.12/lib/phoenix/socket/message.ex#L53)

Defines a reply sent from channels to transports.

The message format requires the following keys:

  * `:topic` - The string topic or topic:subtopic pair namespace, for example "messages", "messages:123"
  * `:status` - The reply status as an atom
  * `:payload` - The reply payload
  * `:ref` - The unique string ref
  * `:join_ref` - The unique string ref when joining

# `t`

```elixir
@type t() :: %Phoenix.Socket.Reply{
  join_ref: term(),
  payload: term(),
  ref: term(),
  status: term(),
  topic: term()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
