google_api_chat v0.6.0 GoogleApi.Chat.V1.Model.WidgetMarkup View Source

A widget is a UI element that presents texts, images, etc.

Attributes

  • buttons (list(GoogleApi.Chat.V1.Model.Button.t)): A list of buttons. Buttons is also oneof data and only one of these fields should be set. Defaults to nil.
  • image (GoogleApi.Chat.V1.Model.Image.t): Display an image in this widget. Defaults to nil.
  • keyValue (GoogleApi.Chat.V1.Model.KeyValue.t): Display a key value item in this widget. Defaults to nil.
  • textParagraph (GoogleApi.Chat.V1.Model.TextParagraph.t): Display a text paragraph in this widget. Defaults to nil.

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.