31 lipca 2024 r. wycofamy Google Business Messages. Więcej informacji znajdziesz
tutaj.
Message
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Treść wiadomości wysłanej od użytkownika do agenta.
Zapis 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 .
} |
Pola |
messageId |
string
Unikalny identyfikator wiadomości.
|
name |
string
Nazwa wiadomości ustawiona przez Business Messages. Przyjmuje wartość „konwersacje/{confersationId}/messages/{messageId}”, gdzie {confersationId} to unikalny identyfikator rozmowy, a {messageId} to unikalny identyfikator wiadomości.
|
createTime |
string (Timestamp format)
Godzina wysłania wiadomości przez użytkownika. Sygnatura czasowa w RFC3339 UTC „Zulu” z rozdzielczością nanosekundową i maksymalnie 9 cyframi po przecinku. Przykłady: "2014-10-02T15:01:23Z" i "2014-10-02T15:01:23.045123456Z" .
|
Pole sumy content . Treść wiadomości. content może mieć tylko jedną z tych wartości: |
text |
string
Treść wiadomości w postaci zwykłego tekstu.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\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. |"]]