Chúng tôi sẽ ngừng cung cấp ứng dụng Google Business Messages từ ngày 31 tháng 7 năm 2024. Đọc thêm
tại đây.
Tin nhắn
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tin nhắn là một tập hợp nội dung riêng biệt (văn bản, nội dung đa phương tiện, v.v.) được gửi từ một bên đến một bên khác. Thông qua Business Messages, bạn có thể nhận tin nhắn từ người dùng và gửi tin nhắn phản hồi.
Tin nhắn có thể chứa nhiều loại nội dung. Ví dụ: người dùng có thể gửi các loại tin nhắn sau cho nhân viên hỗ trợ:
- Văn bản thuần túy
- Hình ảnh
- Câu trả lời đề xuất hành động
- Yêu cầu xác thực
Tương tự, tác nhân có thể gửi các loại thông tin sau đây cho người dùng:
- Văn bản thuần túy
- Văn bản đa dạng thức có hỗ trợ định dạng Markdown ở mức hạn chế
- Câu trả lời đề xuất
- Hành động đề xuất
- Đề xuất xác thực qua OAuth
- Đề xuất để yêu cầu nhân viên hỗ trợ trực tiếp
- Thẻ đa dạng thức chứa nhiều thông tin, thường là ít nhất một nội dung nghe nhìn và một tiêu đề
- Băng chuyền thẻ thông tin chi tiết kết hợp nhiều thẻ thông tin chi tiết
Ngữ cảnh của thông báo
Mỗi thông báo chứa thông tin ngữ cảnh về nguồn gốc của thông báo.
Bạn có thể sử dụng ngữ cảnh để đưa ra quyết định định tuyến, chẳng hạn như vị trí sẽ định tuyến thông báo đến.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\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)"]]