Show / Hide Table of Contents

Class DeprecatedEvent

A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. To configure your Chat app to receive interaction events, see Receive and respond to user interactions. In addition to receiving events from user interactions, Chat apps can receive events about changes to spaces, such as when a new member is added to a space. To learn about space events, see Work with events from Google Chat.

Inheritance
object
DeprecatedEvent
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class DeprecatedEvent : IDirectResponseSchema

Properties

Action

For CARD_CLICKED interaction events, the form action data associated when a user clicks a card or dialog. To learn more, see Read form data input by users on cards.

Declaration
[JsonProperty("action")]
public virtual FormAction Action { get; set; }
Property Value
Type Description
FormAction

AppCommandMetadata

Metadata about a Chat app command.

Declaration
[JsonProperty("appCommandMetadata")]
public virtual AppCommandMetadata AppCommandMetadata { get; set; }
Property Value
Type Description
AppCommandMetadata

Common

Represents information about the user's client, such as locale, host app, and platform. For Chat apps, CommonEventObject includes information submitted by users interacting with dialogs, like data entered on a card.

Declaration
[JsonProperty("common")]
public virtual CommonEventObject Common { get; set; }
Property Value
Type Description
CommonEventObject

ConfigCompleteRedirectUrl

This URL is populated for MESSAGE, ADDED_TO_SPACE, and APP_COMMAND interaction events. After completing an authorization or configuration flow outside of Google Chat, users must be redirected to this URL to signal to Google Chat that the authorization or configuration flow was successful. For more information, see Connect a Chat app with other services and tools.

Declaration
[JsonProperty("configCompleteRedirectUrl")]
public virtual string ConfigCompleteRedirectUrl { get; set; }
Property Value
Type Description
string

DialogEventType

The type of dialog interaction event received.

Declaration
[JsonProperty("dialogEventType")]
public virtual string DialogEventType { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EventTime

object representation of EventTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EventTimeDateTimeOffset instead.")]
public virtual object EventTime { get; set; }
Property Value
Type Description
object

EventTimeDateTimeOffset

DateTimeOffset representation of EventTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? EventTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

EventTimeRaw

The timestamp indicating when the interaction event occurred.

Declaration
[JsonProperty("eventTime")]
public virtual string EventTimeRaw { get; set; }
Property Value
Type Description
string

IsDialogEvent

For CARD_CLICKED and MESSAGE interaction events, whether the user is interacting with or about to interact with a dialog.

Declaration
[JsonProperty("isDialogEvent")]
public virtual bool? IsDialogEvent { get; set; }
Property Value
Type Description
bool?

Message

For ADDED_TO_SPACE, CARD_CLICKED, and MESSAGE interaction events, the message that triggered the interaction event, if applicable.

Declaration
[JsonProperty("message")]
public virtual Message Message { get; set; }
Property Value
Type Description
Message

Space

The space in which the user interacted with the Chat app.

Declaration
[JsonProperty("space")]
public virtual Space Space { get; set; }
Property Value
Type Description
Space

Thread

The thread in which the user interacted with the Chat app. This could be in a new thread created by a newly sent message. This field is populated if the interaction event is associated with a specific message or thread.

Declaration
[JsonProperty("thread")]
public virtual Thread Thread { get; set; }
Property Value
Type Description
Thread

ThreadKey

The Chat app-defined key for the thread related to the interaction event. See spaces.messages.thread.threadKey for more information.

Declaration
[JsonProperty("threadKey")]
public virtual string ThreadKey { get; set; }
Property Value
Type Description
string

Token

A secret value that legacy Chat apps can use to verify if a request is from Google. Google randomly generates the token, and its value remains static. You can obtain, revoke, or regenerate the token from the Chat API configuration page in the Google Cloud Console. Modern Chat apps don't use this field. It is absent from API responses and the Chat API configuration page.

Declaration
[JsonProperty("token")]
public virtual string Token { get; set; }
Property Value
Type Description
string

Type

The type of user interaction with the Chat app, such as MESSAGE or ADDED_TO_SPACE.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

User

The user that interacted with the Chat app.

Declaration
[JsonProperty("user")]
public virtual User User { get; set; }
Property Value
Type Description
User

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX