ArchAstro. SDK. Types. ChatRoomModel
(archastro v0.3.4)
Copy Markdown
A point-in-time snapshot of a chat room's state, including its loaded messages, member roster, and pagination cursors. Returned when loading or refreshing a thread's message list.
Summary
Types
@type t() :: %ArchAstro.SDK.Types.ChatRoomModel{ after_cursor: String.t() | ArchAstro.SDK.Unset.t(), agent: ArchAstro.SDK.Types.Agent.t() | ArchAstro.SDK.Unset.t(), before_cursor: String.t() | ArchAstro.SDK.Unset.t(), is_transient: boolean(), members: [ArchAstro.SDK.Types.ChatMember.t()], messages: [ArchAstro.SDK.Types.Message.t()], messages_loaded_on_last_update: integer() | ArchAstro.SDK.Unset.t(), team: ArchAstro.SDK.Types.Team.t() | ArchAstro.SDK.Unset.t(), thread: ArchAstro.SDK.Types.Thread.t() }
Functions
@spec from_map(ArchAstro.SDK.JSON.object()) :: t()
@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.SDK.JSON.object()