google_api_chat v0.13.0 GoogleApi.Chat.V1.Model.DeprecatedEvent View Source
Hangouts 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.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 Hangouts 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 was dispatched.formInputs
(type:list(GoogleApi.Chat.V1.Model.FormInput.t)
, default:nil
) - The list of form inputs we will supply to the bot. These are just the inputs from the dialog that are populated by the user. This will only be populated for CARD_CLICKED events.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 room or DM 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 thespaces.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 Hangouts 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
Link to this type
t()
View Sourcet() :: %GoogleApi.Chat.V1.Model.DeprecatedEvent{ action: GoogleApi.Chat.V1.Model.FormAction.t(), configCompleteRedirectUrl: String.t(), dialogEventType: String.t(), eventTime: DateTime.t(), formInputs: [GoogleApi.Chat.V1.Model.FormInput.t()], isDialogEvent: boolean(), message: GoogleApi.Chat.V1.Model.Message.t(), space: GoogleApi.Chat.V1.Model.Space.t(), threadKey: String.t(), token: String.t(), type: String.t(), user: GoogleApi.Chat.V1.Model.User.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.