Jido.Chat.ChannelInfo (Jido Chat v1.0.0)

Copy Markdown View Source

Canonical channel metadata payload.

Summary

Functions

Creates canonical channel metadata.

Returns the Zoi schema for ChannelInfo.

Types

t()

@type t() :: %Jido.Chat.ChannelInfo{
  id: binary(),
  is_dm: nil | nil | boolean(),
  member_count: nil | nil | integer(),
  metadata: map(),
  name: nil | nil | binary()
}

Functions

new(attrs)

Creates canonical channel metadata.

schema()

Returns the Zoi schema for ChannelInfo.