google_api_chat v0.15.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 section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.