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

Represents a Button component.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %LineBot.Message.Flex.Button{
  action: LineBot.Message.Action.t(),
  color: String.t() | nil,
  flex: integer() | nil,
  gravity: :top | :bottom | :center | nil,
  height: :sm | :md | nil,
  margin: :none | :xs | :sm | :md | :lg | :xl | :xxl | nil,
  style: :link | :primary | :secondary | nil,
  type: :button
}