Google Business Messages 功能將於 2024 年 7 月 31 日終止服務。請按
這裡瞭解詳情。
訊息
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
訊息是指從一方傳送給另一方的內容 (文字、媒體等) 集合。您可以透過 Business Messages 接收使用者傳送的訊息,並傳送回覆訊息。
訊息可能包含不同類型的內容。舉例來說,使用者可能會將下列類型的訊息傳送給代理程式:
同樣地,代理人可能會將下列類型的資訊傳送給使用者:
- 純文字
- RTF 格式內容,僅支援部分 Markdown 格式
- 建議的回覆
- 建議採取的動作
- 透過 OAuth 驗證的建議
- 建議你如何要求與真人服務專員交談
- 含有多項資訊的資訊卡,通常至少會包含媒體和標題
- 將多張複合式資訊卡串連在一起的複合式資訊卡輪轉介面
訊息內容
每則訊息都包含訊息來源的背景資訊。您可以使用背景資訊做出轉送決策,例如要將訊息轉送至哪個位置。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eBusiness Messages allows two-way communication, enabling businesses to receive and respond to user messages containing various content types like text, images, and suggested actions.\u003c/p\u003e\n"],["\u003cp\u003eAgents can send diverse message formats including text, rich cards, carousels, and suggestions for actions like authentication or live agent requests.\u003c/p\u003e\n"],["\u003cp\u003eEach message includes contextual details, aiding in routing decisions based on factors like message origin.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can learn more by exploring related guides on receiving and sending messages within Business Messages.\u003c/p\u003e\n"]]],[],null,["# Message\n\nA message is a discrete set of content (text, media, etc.) sent from one party\nto another. With Business Messages, you can receive messages from users and send\nresponse messages.\n\nMessages may contain different types of content. For example, the user may send\nthe following types of messages to the agent:\n\n- Plain text\n- Images\n- Suggested action replies\n- Authentication requests\n\nLikewise, the agent may send the following types of information to the user:\n\n- Plain text\n- Rich text with limited Markdown formatting support\n- Suggested replies\n- Suggested actions\n- Suggestions to authenticate via OAuth\n- Suggestions to request a live agent\n- Rich cards containing multiple pieces of information, usually at least media and a title\n- Rich card carousels that string together multiple rich cards\n\nMessage context\n---------------\n\nEach message contains context information about where the message originated.\nYou can use the context to make routing decisions, such as which location to\nroute the message to.\n\nRelated guides\n--------------\n\n- [Receive messages](/business-communications/business-messages/guides/how-to/message/receive)\n- [Send messages](/business-communications/business-messages/guides/how-to/message/send)"]]