سنوقف ميزة "الرسائل التجارية من Google" نهائيًا في 31 يوليو 2024. يمكنك الاطّلاع على مزيد من المعلومات
هنا.
Message
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
محتوى رسالة مُرسَلة من مستخدم إلى وكيل
تمثيل JSON |
{
"messageId": string,
"name": string,
"createTime": string,
// Union field content can be only one of the following:
"text": string
// End of list of possible types for union field content .
} |
الحقول |
messageId |
string
معرّف فريد للرسالة
|
name |
string
اسم الرسالة، وفقًا لما تحدّده ميزة "الرسائل التجارية" تتم مطابقته مع "conversations/{conversationId}/messages/{messageId}"، حيث يكون {conversationId} هو المعرّف الفريد للمحادثة، ويكون {messageId} هو المعرّف الفريد للرسالة.
|
createTime |
string (Timestamp format)
الوقت الذي أرسل فيه المستخدم الرسالة. طابع زمني بتنسيق RFC3339 حسب التوقيت العالمي المنسَّق (UTC) "زولو" بدقة نانوثانية وما يصل إلى تسعة أرقام كسرية. أمثلة: "2014-10-02T15:01:23Z" و"2014-10-02T15:01:23.045123456Z" .
|
حقل الاتحاد content . محتوى الرسالة. يمكن أن يكون content واحدًا فقط مما يلي: |
text |
string
محتوى الرسالة النصية العادية
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe message object contains an ID, name, creation timestamp, and content.\u003c/p\u003e\n"],["\u003cp\u003eThe content of the message is a union field and can be plain text.\u003c/p\u003e\n"],["\u003cp\u003eThe message name follows a specific format: "conversations/{conversationId}/messages/{messageId}".\u003c/p\u003e\n"],["\u003cp\u003eThe creation timestamp is in RFC3339 UTC "Zulu" format.\u003c/p\u003e\n"]]],[],null,["# Message\n\nThe content of a message sent from a user to an agent.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"messageId\": string, \"name\": string, \"createTime\": string, // Union field `content` can be only one of the following: \"text\": string // End of list of possible types for union field `content`. } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `messageId` | `string` An unique identifier of the message. |\n| `name` | `string` The name of the message, as set by Business Messages. Resolves to \"conversations/{conversationId}/messages/{messageId}\", where {conversationId} is the unique ID for the conversation and {messageId} is the unique ID for the message. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` The time that the user sent the message. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| Union field `content`. The content of the message. `content` can be only one of the following: ||\n| `text` | `string` Plain-text message content. |"]]