google_api_chat v0.2.0 GoogleApi.Chat.V1.Model.WidgetMarkup View Source
A widget is a UI element that presents texts, images, etc.
Attributes
- buttons ([Button]): A list of buttons. Buttons is also oneof data and only one of these fields should be set. Defaults to:
null
. - image (Image): Display an image in this widget. Defaults to:
null
. - keyValue (KeyValue): Display a key value item in this widget. Defaults to:
null
. - textParagraph (TextParagraph): Display a text paragraph in this widget. Defaults to:
null
.
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 Source
t()
View Source
t() :: %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()
}
t() :: %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
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.