Class AppCommand (0.5.3)

AppCommand(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for an app command <https://developers.google.com/workspace/chat/commands>__.

Attributes

Name Description
command_type google.cloud.gsuiteaddons_v1.types.AppCommand.CommandType
Required. The type of this command.
command_id int
Required. The ID of the command (1-1000). Must be unique within the app.
command str
Optional. The name of the command. Required for SLASH_COMMAND, do not set for other command types. Must start with a "/", e.g., "/command".
display_name str
Optional. The user-friendly display name of the command. Required for MESSAGE_ACTION and QUICK_COMMAND, do not set for SLASH_COMMAND.
description str
Required. A short description of the command.
dialog_enabled bool
Optional. Whether this command should trigger a dialog. Defaults to false, if not specified.
loading_notification_message str
Optional. A notification to be sent to the user when they trigger the message action. Only supported for MESSAGE_ACTION commands.

Classes

CommandType

CommandType(value)

The type of the App Command.