Skip to content

Commit

Permalink
update chatbot docs (#135)
Browse files Browse the repository at this point in the history
Co-authored-by: Mobin Pourabedini <[email protected]>
  • Loading branch information
Mobin-Pourabedini and Mobin Pourabedini authored Feb 15, 2025
1 parent 054c67a commit 0752e3d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions chat/chatbot_conversations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

برای استفاده ازاین امکان، نیاز به موارد زیر دارید:

1. درخواست فعال‌سازی چت‌بات از طریق ثبت تیکت در پنل کنار دیوار
2. تنظیم "آدرس ارسال رویدادها" در پنل کنار برای دریافت پیام‌های کاربر
3. دسترسی `CHAT_BOT_SEND_MESSAGE` برای ارسال پیام (در صورت نیاز از طریق تیکت درخواست دهید)
1. تنظیم "آدرس ارسال رویدادها" در پنل کنار برای دریافت پیام‌های کاربر
2. دسترسی `CHAT_BOT_SEND_MESSAGE` برای ارسال پیام (در صورت نیاز از طریق تیکت درخواست دهید)

**چت‌بات برنامه شما در لینکی به فرم `https://divar.ir/chat/addon_{your_app_slug}` در دسترس قرار دارد**

### دریافت پیام‌های کاربر

Expand All @@ -20,7 +21,7 @@ Content-Type: application/json
{
"type": "NEW_CHATBOT_MESSAGE",
"new_chatbot_message": {
"message_text": "hello world",
"text": "hello world",
"id": {{message_id}},
"conversation": {
"id": {{conversation_id}},
Expand Down

0 comments on commit 0752e3d

Please sign in to comment.