line_bot v0.1.0 LineBot.Message.Flex.Image View Source

Represents an Image component.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %LineBot.Message.Flex.Image{
  action: LineBot.Message.Action.t() | nil,
  align: :start | :end | :center | nil,
  aspectMode: :cover | :fit | nil,
  aspectRatio: String.t() | nil,
  backgroundColor: String.t() | nil,
  flex: integer() | nil,
  gravity: :top | :bottom | :center | nil,
  margin: :none | :xs | :sm | :md | :lg | :xl | :xxl | nil,
  size:
    :none
    | :xs
    | :sm
    | :md
    | :lg
    | :xl
    | :xxl
    | :"3xl"
    | :"4xl"
    | :"5xl"
    | :full
    | nil,
  type: :image,
  url: String.t()
}