के साथ त्वरित उत्तर उपयोग करने के लिए त्वरित उत्तर के official documentation में कहते हैं:कैसे लगाव
Quick Replies work with all message types including text message, image and template attachments.
लेकिन जब मैं template_type: button
साथ इसे भेजने की कोशिश, मैं त्रुटि मिली:
{
"error": {
"message": "(#100) Only one of text or attachment can be specified",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "H8w+ZfRbBub"
}
}
मैं भेजने का प्रयास है कि:
{
"recipient": {"id": "234567890"},
"message": {
"text": "TEXT_MESSAGE",
"quick_replies": [
{
"content_type": "text",
"title": "SOME_TITLE_1",
"payload": "PAY_LOAD_1"
},
{
"content_type": "text",
"title": "SOME_TITLE_2",
"payload": "PAY_LOAD_2"
}
],
"attachment": {
"type": "template",
"payload": {
"template_type": "button",
"text": "TEXT_MESSAGE",
"buttons": [
{
"title": "READ_MORE_BUTTON",
"type": "postback",
"payload": "look:1:c"
}
]
}
}
}
}
जब मैं message.text
बिना भेजा है, मैं त्रुटि मिली:
{
"error": {
"message": "(#100) Cannot use both CTA and quick reply",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "C0DDxGzaUUj"
}
}
सीटीए क्या है?
अनुलग्नक के साथ त्वरित उत्तर कैसे भेजें?
ओह में हो जाएगा मैं अब पता है कि मैं सामान्य रूप में एक सामान्य टेम्पलेट का उपयोग कर रहा था, और नहीं की तिकड़ी भेजने की कोशिश कर जाएगा : पाठ, बटन, त्वरित जवाब। क्या आपको यह करने या कामकाज करने का कोई तरीका मिला? – user2322082
@ user2322082 वास्तविक नहीं है। मैं केवल दो अलग-अलग संदेश भेज सकता हूं। – Dmitry
तो क्या आपको एक बटन संदेश भेजना है और फिर डिलीवरी के लिए प्रतीक्षा करें और फिर त्वरित उत्तरों भेजें? और क्या किसी अन्य प्रकार की जानकारी के बिना त्वरित जवाब भेजने का कोई तरीका है? – user2322082