LettaAPI.Model.UserMessage (letta_api v1.0.0)

A message sent by the user. Never streamed back on a response, only used for cursor pagination. Args: id (str): The ID of the message date (datetime): The date the message was created in ISO format name (Optional[str]): The name of the sender of the message content (Union[str, List[LettaUserMessageContentUnion]]): The message content sent by the user (can be a string or an array of multi-modal content parts)

Summary

Types

t()

@type t() :: %LettaAPI.Model.UserMessage{
  content: LettaAPI.Model.Content6.t(),
  date: DateTime.t(),
  id: String.t(),
  message_type: String.t() | nil,
  name: String.t() | nil,
  otid: String.t() | nil,
  sender_id: String.t() | nil,
  step_id: String.t() | nil
}

Functions

decode(value)