new_releases Güncellemeler: Yeni özellikler ve ürün güncellemeleri için
sürüm notlarına bakın.
REST Resource: phones.dialogflowMessages
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kaynak: DialogflowEvent
RBM Platformu tarafından tetiklenen Dialogflow etkinliği.
events ile bir aracı, giriş olarak dil kullanmadan bir niyeti eşleştirebilir.
Parametreler, kişiselleştirilmiş yanıtları etkinleştirir. Örneğin, { "eventName": "welcome_event", "parameters": { "name": "Sam" } }
girdisiyle bir Dialogflow aracısı "Hello Sam! What can I do for you today?"
yanıtını oluşturabilir.
JSON gösterimi |
{
"name": string,
"eventName": string,
"parameters": {
object
},
"languageCode": string
} |
Alanlar |
name |
string
Bu alan, RBM platformu tarafından ayarlanır. Temsilci mesajı oluştururken bu mesajı eklemeyin. Bu alan, "phones/{E.164}/dialogflowMessages/{messageId}" öğesini çözer. Burada {E.164}, kullanıcının E.164 biçimindeki telefon numarası, {messageId} ise RBM temsilci mesajının temsilci tarafından atanan kimliğidir.
|
eventName |
string
Etkinliğin benzersiz tanımlayıcısı. Örneğin, RBM_WELCOME_EVENT .
|
parameters |
object (Struct format)
(İsteğe bağlı) Etkinlikle ilişkilendirilen parametreler.
|
languageCode |
string
Bu sorgunun dili. Dil kodlarının listesi için Dil Desteği sayfasına göz atın. Bir Dialogflow aracısının bir dili kullanabilmesi için dilin Dialogflow konsolunda etkinleştirilmesi gerekir. Aynı oturumdaki sorgular farklı diller belirtebilir. Bir dil belirtilmezse Dialogflow, aracının varsayılan dilini kullanır. aynı dili belirtmeniz gerekmez.
|
Yöntemler |
|
Bir Dialogflow temsilcisinden RBM temsilcisi üzerinden mesaj göndermesini ister. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eDialogflow events enable agents to match intents without relying on language input, using event triggers from the RBM Platform.\u003c/p\u003e\n"],["\u003cp\u003eParameters in Dialogflow events, such as names, allow for personalized responses, improving user experience.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eeventName\u003c/code\u003e field is a unique identifier for each event, like \u003ccode\u003eRBM_WELCOME_EVENT\u003c/code\u003e, and \u003ccode\u003eparameters\u003c/code\u003e are optional fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field is set by the RBM platform and contains phone number information, while the \u003ccode\u003elanguageCode\u003c/code\u003e field specifies the language of the query.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecreate\u003c/code\u003e method is used to prompt a Dialogflow agent to send messages through an RBM agent.\u003c/p\u003e\n"]]],[],null,["# REST Resource: phones.dialogflowMessages\n\nResource: DialogflowEvent\n-------------------------\n\nDialogflow event triggered by the RBM Platform.\n\nWith [events](https://dialogflow.com/docs/events), an agent can match an [intent](https://dialogflow.com/docs/intents) without using language as an input.\n\nParameters enable personalized responses. For example, with the input `{ \"eventName\": \"welcome_event\", \"parameters\": { \"name\": \"Sam\" } }`, a Dialogflow agent can create the response `\"Hello Sam! What can I do for you today?\"`.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"eventName\": string, \"parameters\": { object }, \"languageCode\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` This field is set by the RBM platform. Don't include it when creating an agent message. The field resolves \"phones/{E.164}/dialogflowMessages/{messageId}\", where {E.164} is the user's phone number in E.164 format and {messageId} is the agent-assigned ID of the RBM agent message. |\n| `eventName` | `string` The unique identifier of the event. For example, `RBM_WELCOME_EVENT`. |\n| `parameters` | `object (`[Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct)` format)` (Optional) Parameters associated with the event. |\n| `languageCode` | `string` The language of this query. For a list of language codes, see [Language Support](https://dialogflow.com/docs/languages). Before a Dialogflow agent can use a language, the language must be enabled in the [Dialogflow console](https://console.dialogflow.com). Queries in the same session can specify different languages. If a language isn't specified, Dialogflow uses the agent's default language. do not necessarily need to specify the same language. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| ### [create](/business-communications/rcs-business-messaging/reference/rest/v1/phones.dialogflowMessages/create) | Prompts a [Dialogflow](https://dialogflow.com) agent to send messages through an RBM agent. |"]]