最佳实践 (Dialogflow)
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
通知标题
确保您的应用或游戏遵循以下最佳实践:
- 请勿在标题中使用问号或感叹号。
- 请勿在每日更新的标题中使用“每日”一词。
- 不要为不同的更新使用相同的标题。
- 请勿使用 Action 的确切名称。
可更新的 intent
在 Actions on Google 控制台中,仅为更新和通知触发的 intent 启用更新或通知。不要为您在配置期间使用的 intent(例如指南中提及的 setup_update
intent)启用更新或通知。
限制
以下限制适用于发送推送通知:
- 每位用户每天最多 10 条通知。
- 每位用户每分钟最多 1 条通知。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003ePush notification titles should avoid punctuation, repetitive words like "daily", duplication, and the Action's name.\u003c/p\u003e\n"],["\u003cp\u003eOnly enable updates/notifications for intents specifically designed for them, excluding setup or configuration intents.\u003c/p\u003e\n"],["\u003cp\u003eDaily push notifications are limited to 10 per user, with a maximum frequency of 1 per minute.\u003c/p\u003e\n"]]],[],null,["# Best Practices (Dialogflow)\n\nNotification title\n------------------\n\nMake sure your title complies with the following best practices:\n\n- Don't use question marks or exclamation marks in your title.\n- Don't use the word *daily* in the title of a daily update.\n- Don't use the same title for different updates.\n- Don't use the exact name of the Action.\n\nUpdatable intents\n-----------------\n\nEnable updates or notifications in the Actions on Google console only for the\nintents that are triggered by updates and notifications. Don't enable updates\nor notifications for intents that you are using during the configuration, e.g.\nthe `setup_update` intent mentioned in the guides.\n\nLimits\n------\n\nThe following limits apply to sending push notifications:\n\n- Up to **10 notifications per user per day**.\n- Up to **1 notifications per user per minute**."]]