View Source GoogleApi.Chat.V1.Model.ActionResponse (google_api_chat v0.34.3)

Parameters that a Chat app can use to configure how its response is posted.

Attributes

  • dialogAction (type: GoogleApi.Chat.V1.Model.DialogAction.t, default: nil) - Input only. A response to an interaction event related to a dialog. Must be accompanied by ResponseType.Dialog.
  • type (type: String.t, default: nil) - Input only. The type of Chat app response.
  • updatedWidget (type: GoogleApi.Chat.V1.Model.UpdatedWidget.t, default: nil) - Input only. The response of the updated widget.
  • url (type: String.t, default: nil) - Input only. URL for users to authenticate or configure. (Only for REQUEST_CONFIG response types.)

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.ActionResponse{
  dialogAction: GoogleApi.Chat.V1.Model.DialogAction.t() | nil,
  type: String.t() | nil,
  updatedWidget: GoogleApi.Chat.V1.Model.UpdatedWidget.t() | nil,
  url: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.