Send a typing indicator
POST
/v1/amb/conversations/{conversation_id}/typing
const result = await bird.amb.conversations.typing(
"acv_01krdgeqcxet5s7t44vh8rt9mg",
{ event: "typing_start" },
);
console.log(result);result = client.amb.conversations.typing('acv_01krdgeqcxet5s7t44vh8rt9mg', event='typing_start')
print(result)if err := client.Amb.Conversations.Typing(ctx, "acv_01krdgeqcxet5s7t44vh8rt9mg", bird.AmbConversationsTypingParams{Event: "typing_start"}); err != nil {
log.Fatal(err)
}$bird->amb->conversations->typing('acv_01krdgeqcxet5s7t44vh8rt9mg', (new Model\AMBConversationTypingRequest())->setEvent('typing_start'));bird amb conversations typing <conversation-id> --event typing_startcurl -X POST "https://us1.platform.bird.com/v1/amb/conversations/{conversation_id}/typing" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"event": "typing_start"
}'Sends a typing indicator to the customer's device on this conversation. Send typing_start before the reply it precedes; sending it again before that reply is not meaningful and may be dropped. Apple's own behavior for typing_end sent with no reply following is unproven, so treat it as best-effort. This conversation must be open: the same checks that gate a message on this conversation gate a typing indicator, other than the content checks, since a typing indicator has no content.
पैरामीटर
conversation_id
string
Conversation identifier. Starts with acv_.
Request Payload
event
string
आवश्यक
The typing signal to send. typing_start tells the customer's device that an operator is composing a reply. typing_end tells it composition stopped without a message following. Apple expects at most one typing_start before the reply it precedes; sending it again before that reply is not meaningful and may be dropped. typing_end's behavior against a live conversation is unproven: the legacy platform's implementation was disabled after it caused issues, so treat it as best-effort.
Possible values: typing_start, typing_end
संबंधित संसाधन
इस विषय के लिए डॉक्यूमेंटेशन, गाइड और उदाहरणों के साथ आगे बढ़ें। संसाधन अंग्रेज़ी में हैं।
कॉन्सेप्ट समझेंShould I use a Bird SDK or call the API directly?लर्निंग पाथ फ़ॉलो करेंBuild your first integrationइम्प्लीमेंटेशन गाइडSend your first email
इम्प्लीमेंटेशन ब्रीफ़ पाएँ