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

Parameters that a bot can use to configure how it's response is posted.

Attributes

  • dialogAction (type: GoogleApi.Chat.V1.Model.DialogAction.t, default: nil) - This response is for Dialog related events and must be accompanied by ResponseType.Dialog
  • type (type: String.t, default: nil) - The type of bot response.
  • url (type: String.t, default: nil) - URL for users to auth or config. (Only for REQUEST_CONFIG response types.)

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.