# `WardrikChannel.Inbound`

A message someone posted in a room. Adapters pass it to `WardrikChannel.received/2`.

  * `:room` - the room it was posted in.
  * `:thread` - the thread it replies in, or `nil` if it starts one.
  * `:id` - unique in its room. A message passed twice is answered once.
  * `:sender` - a `WardrikChannel.Member`.
  * `:text` - the text, without any mention of the bot.
  * `:mentioned?` - whether it mentioned the bot. `false` unless set.

# `t`

```elixir
@type t() :: %WardrikChannel.Inbound{
  id: String.t(),
  mentioned?: boolean(),
  room: String.t(),
  sender: WardrikChannel.Member.t(),
  text: String.t(),
  thread: String.t() | nil
}
```

---

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