google_api_chat v0.9.0 GoogleApi.Chat.V1.Model.WidgetMarkup View Source
A widget is a UI element that presents texts, images, etc.
Attributes
buttons
(type:list(GoogleApi.Chat.V1.Model.Button.t)
, default:nil
) - A list of buttons. Buttons is also oneof data and only one of these fields should be set.image
(type:GoogleApi.Chat.V1.Model.Image.t
, default:nil
) - Display an image in this widget.keyValue
(type:GoogleApi.Chat.V1.Model.KeyValue.t
, default:nil
) - Display a key value item in this widget.textParagraph
(type:GoogleApi.Chat.V1.Model.TextParagraph.t
, default:nil
) - Display a text paragraph in this widget.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Chat.V1.Model.WidgetMarkup{ buttons: [GoogleApi.Chat.V1.Model.Button.t()], image: GoogleApi.Chat.V1.Model.Image.t(), keyValue: GoogleApi.Chat.V1.Model.KeyValue.t(), textParagraph: GoogleApi.Chat.V1.Model.TextParagraph.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.