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