ArchAstro.Types.ChannelPayloads.ApiChatChannel.ApiChatForkThread.Response.Nested.ChatModelMessagesItemAttachmentsItemVariantsItem (archastro v0.2.0)

Copy Markdown

ChatModelMessagesItemAttachmentsItemVariantsItem API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.Types.ChannelPayloads.ApiChatChannel.ApiChatForkThread.Response.Nested.ChatModelMessagesItemAttachmentsItemVariantsItem{
    content_type: String.t() | ArchAstro.Unset.t(),
    created_at: DateTime.t() | ArchAstro.Unset.t(),
    file: String.t() | ArchAstro.Unset.t(),
    filename: String.t() | ArchAstro.Unset.t(),
    height: integer() | ArchAstro.Unset.t(),
    id: String.t(),
    image_source:
      ArchAstro.Types.ChannelPayloads.ApiChatChannel.ApiChatForkThread.Response.Nested.ChatModelMessagesItemAttachmentsItemVariantsItemImageSource.t()
      | ArchAstro.Unset.t(),
    updated_at: DateTime.t() | ArchAstro.Unset.t(),
    url: String.t() | ArchAstro.Unset.t(),
    variant_key: String.t() | ArchAstro.Unset.t(),
    width: integer() | ArchAstro.Unset.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()