# `Jido.Chat.Room`
[🔗](https://github.com/agentjido/jido_chat/blob/v1.0.0/lib/jido/chat/room.ex#L1)

Represents a conversation room/chat.

Rooms are the primary conversation container and can be bound to
external channels (Telegram chats, Discord channels, etc.).

# `t`

```elixir
@type t() :: %Jido.Chat.Room{
  external_bindings: map(),
  id: binary(),
  inserted_at:
    nil
    | nil
    | %DateTime{
        calendar: term(),
        day: term(),
        hour: term(),
        microsecond: term(),
        minute: term(),
        month: term(),
        second: term(),
        std_offset: term(),
        time_zone: term(),
        utc_offset: term(),
        year: term(),
        zone_abbr: term()
      },
  metadata: map(),
  name: nil | nil | binary(),
  type: :direct | :group | :channel | :thread
}
```

# `new`

Creates a new room with generated ID and timestamp

# `schema`

Returns the Zoi schema for Room

---

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