2024 年 7 月 31 日をもって、Google ビジネス メッセージはご利用いただけなくなります。詳しくは
こちらをご覧ください。
メッセージ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
メッセージは、ある当事者から別の当事者に送信される一連のコンテンツ(テキスト、メディアなど)です。ビジネス メッセージを使用すると、ユーザーからのメッセージを受信し、返信メッセージを送信できます。
メッセージにはさまざまな種類のコンテンツが含まれる場合があります。たとえば、ユーザーはエージェントに次のようなメッセージを送信する場合があります。
- 書式なしテキスト
- 画像
- 操作候補の返信
- 認証リクエスト
同様に、エージェントはユーザーに次のような情報を送信できます。
- 書式なしテキスト
- マークダウンの書式設定が限定的にサポートされているリッチテキスト
- 返信文の候補
- 推奨される措置
- OAuth 経由で認証する方法の提案
- ライブ対応のエージェントをリクエストする際の提案
- 複数の情報(通常は少なくともメディアとタイトル)を含むリッチカード
- 複数のリッチカードを連結したリッチカード カルーセル
メッセージ コンテキスト
各メッセージには、メッセージの発信元に関するコンテキスト情報が含まれています。コンテキストを使用して、メッセージの転送先などのルーティングに関する決定を行うことができます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 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)"]]