ArchAstro. Types. Actor
(archastro v0.2.0)
Copy Markdown
The entity that authored a message, either a human user or an agent.
Summary
Types
@type t() :: %ArchAstro.Types.Actor{ alias_: String.t() | ArchAstro.Unset.t(), id: String.t() | ArchAstro.Unset.t(), name: String.t() | ArchAstro.Unset.t(), profile_picture: ArchAstro.Types.ImageSource.t() | ArchAstro.Unset.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()