เราจะยุติการให้บริการ Google Business Messages ในวันที่ 31 กรกฎาคม 2024 อ่านเพิ่มเติม
ที่นี่
วงจรชีวิตของข้อความ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ผู้ใช้สามารถส่งข้อความไปยังตัวแทน และตัวแทนสามารถส่งข้อความถึงผู้ใช้ได้ แต่ยังมีมากกว่านั้น สําหรับแต่ละข้อความ อาจมีหลายฝ่าย
ที่เกี่ยวข้อง
- ผู้ใช้เริ่มการสนทนากับตัวแทนผ่านจุดแรกเข้าใน Search, Maps รวมถึงลิงก์และเว็บไซต์ที่จัดการโดยแบรนด์ ผู้ใช้ต้องลงชื่อเข้าใช้บัญชี Google แต่ระบบจะแชร์เฉพาะชื่อผู้ใช้กับพาร์ทเนอร์
ข้อความของผู้ใช้ได้รับการเข้ารหัสโดยใช้ TLS
Business Messages ทําหน้าที่เป็นเลเยอร์ระหว่างผู้ใช้และพาร์ทเนอร์เพื่อปกป้องความเป็นส่วนตัวของผู้ใช้ เลเยอร์นี้ช่วยดูแลไม่ให้มีการแชร์ข้อมูลบัญชี Google
ของผู้ใช้กับคู่สนทนาหรือตัวแทนแบบเรียลไทม์โดยถอดรหัสและเข้ารหัสข้อความขาเข้าและขาออกแต่ละรายการ รวมทั้งแมปบัญชี Google
ของผู้ใช้กับรหัสการสนทนา
Google จัดเก็บข้อความที่เข้ารหัสไว้เพื่อให้ส่งและซิงค์ข้อมูลระหว่างอุปกรณ์ของผู้ใช้ได้ คุณจะแชร์ข้อความที่จัดเก็บไว้เหล่านี้กับบุคคลที่สามไม่ได้ เข้าถึงได้โดยใช้รหัส Google ของผู้ใช้เท่านั้น
ตัวแทนคือตัวแทนของแบรนด์ตามที่สร้างและจัดการโดยพาร์ทเนอร์
พาร์ทเนอร์จัดการตัวแทนในนามของแบรนด์ พาร์ทเนอร์จะได้รับข้อความขาเข้าในเว็บฮุคที่ระบุ, กําหนดเส้นทางข้อความขาเข้าไปยังระบบอัตโนมัติหรือตัวแทนแบบเรียลไทม์เพื่อเขียนคําตอบ และส่งข้อความขาออกไปยัง Business Messages API
การทํางานอัตโนมัติจะจัดการข้อความสําหรับผู้ใช้โดยไม่มีการมีส่วนร่วมจากมนุษย์
Agent แบบสดจะจัดการข้อความที่ผู้ใช้ต้องมีการมีส่วนร่วมจากมนุษย์
คู่สัญญาแต่ละฝ่ายมีบทบาทในการส่งและรับข้อความในการสนทนา
กระบวนการรับส่งข้อความตั้งแต่ต้นจนจบจะเริ่มต้นขึ้นเมื่อผู้ใช้รับส่งข้อความกับตัวแทน และจบลงด้วยการที่ผู้ใช้ได้รับการตอบกลับจากตัวแทน

- ผู้ใช้เริ่มการสนทนาและส่งข้อความถึงตัวแทน Business Messages
- Business Messages จะกําหนดรหัสให้กับการสนทนา รหัสการสนทนาคงอยู่ถาวรและไม่ซ้ํากันทั้งผู้ใช้และตัวแทน หากผู้ใช้รายเดิมติดต่อ
ตัวแทนคนอื่น การสนทนานั้นจะต้องมีรหัสการสนทนาที่ต่างออกไป
- Business Messages ส่งข้อความที่เข้ารหัสไปยังเว็บฮุคของพาร์ทเนอร์ ข้อความจะมีรหัสการสนทนาที่ไม่ซ้ํากัน รหัสตัวแทน รหัสข้อความ และข้อมูลบริบทเกี่ยวกับแหล่งที่มาของการสนทนา
- พาร์ทเนอร์ได้รับข้อความและกําหนดเส้นทางข้อความไปยังระบบอัตโนมัติหรือตัวแทนแบบเรียลไทม์
- ระบบอัตโนมัติจะสร้างการตอบกลับข้อความของผู้ใช้โดยอัตโนมัติ หรือ Agent แบบสดที่มีสิทธิ์เข้าถึงการสนทนาจะเห็นข้อความของผู้ใช้และจะสร้างการตอบกลับที่สอดคล้องกัน
- พาร์ทเนอร์ส่งการตอบกลับไปยัง Business Messages API ที่มีรหัสการสนทนาเป็นผู้รับ
- Business Messages จะถอดรหัสและเข้ารหัสข้อความอีกครั้ง และจับคู่รหัสการสนทนากับบัญชี Google ของผู้ใช้ แล้วส่งข้อความดังกล่าวให้กับผู้ใช้
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-21 UTC
[null,null,["อัปเดตล่าสุด 2024-12-21 UTC"],[[["\u003cp\u003eBusiness Messages enables conversations between users and agents (representing brands) while protecting user privacy.\u003c/p\u003e\n"],["\u003cp\u003eGoogle acts as an intermediary, ensuring secure message transmission and user anonymity by encrypting messages and using conversation IDs.\u003c/p\u003e\n"],["\u003cp\u003ePartners manage agents and handle message routing to automation or live agents for response generation.\u003c/p\u003e\n"],["\u003cp\u003eThe messaging flow involves users initiating conversations, Business Messages facilitating secure delivery, and partners orchestrating responses via automation or live agents.\u003c/p\u003e\n"]]],[],null,["# Life of a message\n\nUsers can send messages to agents, and agents can send messages to users, but\nthere's more to it than that. For each message, there can be many parties\ninvolved:\n\n- **The user** begins a conversation with an agent through [entry\n points](/business-communications/business-messages/guides/concepts/entry-point) in Search, Maps, and brand-managed links and websites. Users must be signed in to a Google account, but only the user's name is shared with the partner. User messages are encrypted with TLS.\n- **Business Messages** acts as a layer between the user and the partner to\n protect user privacy. This layer ensures the user's Google account\n information isn't shared with the partner or live agents by decrypting and\n re-encrypting each inbound and outbound message and mapping the user's\n Google account to a conversation ID.\n\n Google stores encrypted messages to ensure delivery and synchronization\n between a user's devices. These stored messages can't be shared with any\n third party. Access is only available with the user's Google ID.\n- **The agent** is a representation of a brand, as\n [created](/business-communications/business-messages/guides/agent-lifecycle)\n and managed by a partner.\n\n- **The partner** manages the agent on behalf of a brand. Partners receive\n inbound messages at a [specified\n webhook](/business-communications/business-messages/guides/quickstarts/echo-agent#webhook),\n route inbound messages to automation or live agents to compose responses,\n and send outbound messages to the Business Messages API.\n\n- **Automation** handles user messages without human engagement.\n\n- **Live agents** handle user messages that require human engagement.\n\nEach party plays a part in sending and receiving messages within a conversation.\nAn end-to-end messaging flow starts with a user messaging an agent and ends\nwith the user receiving a response from the agent.\n\n1. A user starts a conversation and sends a message to a Business Messages agent.\n2. Business Messages assigns the conversation an ID. Conversation IDs are persistent and unique to the user and the agent. If the same user contacted a different agent, that conversation would have a different conversation ID.\n3. Business Messages sends the encrypted message to the partner's webhook. The message contains the unique conversation ID, agent ID, message ID, and context information for where the conversation originated.\n4. The partner [receives the\n message](/business-communications/business-messages/guides/how-to/message/receive) and routes the message to automation or to a live agent.\n5. Automation automatically creates a response to the user message, or a live agent who has access to the conversation sees the user message and creates a response accordingly.\n6. The partner [sends the\n response](/business-communications/business-messages/guides/how-to/message/send) to the Business Messages API with the conversation ID as the recipient.\n7. Business Messages decrypts and re-encrypts messages, maps the conversation ID with the user's Google account, and sends the message to the user."]]