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

ActionStatus represents status of a request from the bot developer's side. In specific, for each request a bot gets, the bot developer will set both fields below in relation to what the response status and message related to status should be.

Attributes

  • statusCode (type: String.t, default: nil) - The status code.
  • userFacingMessage (type: String.t, default: nil) - This message will be the corresponding string to the above status_code. If unset, an appropriate generic message based on the status_code will be shown to the user. If this field is set then the message will be surfaced to the user for both successes and errors.

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.ActionStatus{
  statusCode: String.t() | nil,
  userFacingMessage: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.