ArchAstro.Types.ChatForkThreadResponse (archastro v0.2.0)

Copy Markdown

Response returned after forking a chat thread. Contains the new thread, its initial chat-room snapshot, and the owning team when applicable.

Summary

Types

t()

@type t() :: %ArchAstro.Types.ChatForkThreadResponse{
  chat_model: ArchAstro.Types.ChatRoomModel.t() | ArchAstro.Unset.t(),
  team: ArchAstro.Types.Team.t() | ArchAstro.Unset.t(),
  thread: ArchAstro.Types.Thread.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()