Jido.Chat.ChannelMeta (Jido Chat v1.0.0)

Copy Markdown View Source

Normalized channel-level metadata for Jido.Chat.Incoming.

Summary

Functions

Creates a channel metadata struct from map input.

Returns the Zoi schema for ChannelMeta.

Types

t()

@type t() :: %Jido.Chat.ChannelMeta{
  adapter_name: nil | nil | atom(),
  chat_title: nil | nil | binary(),
  chat_type: nil | nil | atom(),
  delivery_external_room_id: nil | nil | binary(),
  external_room_id: nil | nil | any(),
  external_thread_id: nil | nil | binary(),
  is_dm: boolean(),
  metadata: map()
}

Functions

new(attrs)

Creates a channel metadata struct from map input.

schema()

Returns the Zoi schema for ChannelMeta.