Package | Description |
---|---|
com.google.api.services.chat.v1.model |
Modifier and Type | Method and Description |
---|---|
CommonEventObject |
CommonEventObject.clone() |
CommonEventObject |
DeprecatedEvent.getCommon()
Represents information about the user's client, such as locale, host app, and platform.
|
CommonEventObject |
CommonEventObject.set(String fieldName,
Object value) |
CommonEventObject |
CommonEventObject.setFormInputs(Map<String,Inputs> formInputs)
A map containing the values that a user inputs in a widget from a card or dialog.
|
CommonEventObject |
CommonEventObject.setHostApp(String hostApp)
The hostApp enum which indicates the app the add-on is invoked from.
|
CommonEventObject |
CommonEventObject.setInvokedFunction(String invokedFunction)
Name of the invoked function associated with the widget.
|
CommonEventObject |
CommonEventObject.setParameters(Map<String,String> parameters)
Custom [parameters](/chat/api/reference/rest/v1/cards#ActionParameter) passed to the invoked
function.
|
CommonEventObject |
CommonEventObject.setPlatform(String platform)
The platform enum which indicates the platform where the event originates (`WEB`, `IOS`, or
`ANDROID`).
|
CommonEventObject |
CommonEventObject.setTimeZone(TimeZone timeZone)
The timezone ID and offset from Coordinated Universal Time (UTC).
|
CommonEventObject |
CommonEventObject.setUserLocale(String userLocale)
The full `locale.displayName` in the format of [ISO 639 language code]-[ISO 3166 country/region
code] such as "en-US".
|
Modifier and Type | Method and Description |
---|---|
DeprecatedEvent |
DeprecatedEvent.setCommon(CommonEventObject common)
Represents information about the user's client, such as locale, host app, and platform.
|
Copyright © 2011–2024 Google. All rights reserved.