GoogleApi.Chat.V1.Model.ActionStatus (google_api_chat v0.30.1) 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.


  • 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


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Chat.V1.Model.ActionStatus{
  statusCode: String.t() | nil,
  userFacingMessage: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.