# `VerifiedPubSub.Message`
[🔗](https://github.com/CuriousCurmudgeon/verified_pubsub/blob/v0.1.0/lib/verified_pubsub/message.ex#L1)

The struct that a subscriber receives for each verified broadcast.

`params` holds the param values that built the wire topic. A process can subscribe to
one topic with many sets of params, and `params` tells the messages apart.

# `t`

```elixir
@type t() :: %VerifiedPubSub.Message{
  event: atom(),
  manifest: module(),
  params: map(),
  payload: term(),
  topic: atom()
}
```

The fields of the message:

  * `manifest`: the manifest that declares the topic.
  * `topic`: the name of the topic.
  * `event`: the event.
  * `params`: the param values that built the wire topic.
  * `payload`: the payload.

---

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