GoogleApi.Chat.V1.Model.DeprecatedEvent (google_api_chat v0.30.0) View Source

Google Chat events.

Attributes

  • action (type: GoogleApi.Chat.V1.Model.FormAction.t, default: nil) - The form action data associated with an interactive card that was clicked. Only populated for CARD_CLICKED events. See the Interactive Cards guide for more information.
  • common (type: GoogleApi.Chat.V1.Model.CommonEventObject.t, default: nil) - This will include form information for dialogs such as form inputs, action parameters.
  • configCompleteRedirectUrl (type: String.t, default: nil) - The URL the bot should redirect the user to after they have completed an authorization or configuration flow outside of Google Chat. See the Authorizing access to 3p services guide for more information.
  • dialogEventType (type: String.t, default: nil) - The type of dialog event we have received.
  • eventTime (type: DateTime.t, default: nil) - The timestamp indicating when the event occurred.
  • isDialogEvent (type: boolean(), default: nil) - Whether or not this event is related to dialogs request, submit or cancel. This will be set to true when we want a request/submit/cancel event.
  • message (type: GoogleApi.Chat.V1.Model.Message.t, default: nil) - The message that triggered the event, if applicable.
  • space (type: GoogleApi.Chat.V1.Model.Space.t, default: nil) - The space in which the event occurred.
  • threadKey (type: String.t, default: nil) - The bot-defined key for the thread related to the event. See the thread_key field of the spaces.message.create request for more information.
  • token (type: String.t, default: nil) - A secret value that bots can use to verify if a request is from Google. The token is randomly generated by Google, remains static, and can be obtained from the Google Chat API configuration page in the Cloud Console. Developers can revoke/regenerate it if needed from the same page.
  • type (type: String.t, default: nil) - The type of the event.
  • user (type: GoogleApi.Chat.V1.Model.User.t, default: nil) - The user that triggered the event.

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.DeprecatedEvent{
  action: GoogleApi.Chat.V1.Model.FormAction.t() | nil,
  common: GoogleApi.Chat.V1.Model.CommonEventObject.t() | nil,
  configCompleteRedirectUrl: String.t() | nil,
  dialogEventType: String.t() | nil,
  eventTime: DateTime.t() | nil,
  isDialogEvent: boolean() | nil,
  message: GoogleApi.Chat.V1.Model.Message.t() | nil,
  space: GoogleApi.Chat.V1.Model.Space.t() | nil,
  threadKey: String.t() | nil,
  token: String.t() | nil,
  type: String.t() | nil,
  user: GoogleApi.Chat.V1.Model.User.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.