google_api_chat v0.2.0 GoogleApi.Chat.V1.Model.DeprecatedEvent View Source
Hangouts Chat events.
Attributes
- action (FormAction): 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. Defaults to:
null
. - configCompleteRedirectUrl (String.t): 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. Defaults to:
null
. - eventTime (DateTime.t): The timestamp indicating when the event was dispatched. Defaults to:
null
. - message (Message): The message that triggered the event, if applicable. Defaults to:
null
. - space (Space): The room or DM in which the event occurred. Defaults to:
null
. - threadKey (String.t): 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. Defaults to:
null
. - token (String.t): 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. Defaults to:
null
. type (String.t): The type of the event. Defaults to:
null
.- Enum - one of [UNSPECIFIED, MESSAGE, ADDED_TO_SPACE, REMOVED_FROM_SPACE, CARD_CLICKED]
- user (User): The user that triggered the event. Defaults to:
null
.
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 Source
t()
View Source
t() :: %GoogleApi.Chat.V1.Model.DeprecatedEvent{
action: GoogleApi.Chat.V1.Model.FormAction.t(),
configCompleteRedirectUrl: any(),
eventTime: DateTime.t(),
message: GoogleApi.Chat.V1.Model.Message.t(),
space: GoogleApi.Chat.V1.Model.Space.t(),
threadKey: any(),
token: any(),
type: any(),
user: GoogleApi.Chat.V1.Model.User.t()
}
t() :: %GoogleApi.Chat.V1.Model.DeprecatedEvent{ action: GoogleApi.Chat.V1.Model.FormAction.t(), configCompleteRedirectUrl: any(), eventTime: DateTime.t(), message: GoogleApi.Chat.V1.Model.Message.t(), space: GoogleApi.Chat.V1.Model.Space.t(), threadKey: any(), token: any(), type: any(), user: GoogleApi.Chat.V1.Model.User.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.