AppCommandType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
APP_COMMAND_TYPE_UNSPECIFIED |
默认值。未指定。 |
SLASH_COMMAND |
斜杠命令。用户在 Chat 消息中发送命令。 |
QUICK_COMMAND |
快捷命令。用户从消息回复区域的 Chat 菜单中选择相应命令。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe provided content describes different types of app commands.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAPP_COMMAND_TYPE_UNSPECIFIED\u003c/code\u003e is the default value for an unspecified command type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSLASH_COMMAND\u003c/code\u003e represents a command sent via a slash in a message.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eQUICK_COMMAND\u003c/code\u003e is a command initiated by the user, often through an integration menu action.\u003c/p\u003e\n"]]],["The core content defines the types of app commands. `APP_COMMAND_TYPE_UNSPECIFIED` is the default, representing an unspecified command type. `SLASH_COMMAND` indicates a command initiated via a slash in a message. `QUICK_COMMAND` signifies a command invoked directly by a user action, potentially through an integration menu. These three enums are used to categorize the nature of different app command interactions.\n"],null,["# AppCommandType\n\nThe type of Chat app command. For details, see [Types of Chat app commands](https://developers.google.com/workspace/chat/commands#types).\n\n| Enums ||\n|--------------------------------|---------------------------------------------------------------------------------------------|\n| `APP_COMMAND_TYPE_UNSPECIFIED` | Default value. Unspecified. |\n| `SLASH_COMMAND` | A slash command. The user sends the command in a Chat message. |\n| `QUICK_COMMAND` | A quick command. The user selects the command from the Chat menu in the message reply area. |"]]