Lingo.Type.Embed (Lingo v0.4.2)

Copy Markdown View Source

A message embed. Build one with Lingo.Embed.build/1.

Link previews a website built from components (type "components") hold them in components: a single Container, display only.

Summary

Types

t()

@type t() :: %Lingo.Type.Embed{
  author: map() | nil,
  color: integer() | nil,
  components: [map()] | nil,
  description: String.t() | nil,
  fields: [map()],
  flags: integer() | nil,
  footer: map() | nil,
  image: map() | nil,
  provider: map() | nil,
  thumbnail: map() | nil,
  timestamp: DateTime.t() | nil,
  title: String.t() | nil,
  type: String.t() | nil,
  url: String.t() | nil,
  video: map() | nil
}