Skip to content

Commit

Permalink
Update replai.apib
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-kokabi authored Jan 16, 2025
1 parent c3f4606 commit b9dc09e
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions apib/replai.apib
Original file line number Diff line number Diff line change
Expand Up @@ -203,28 +203,3 @@ HOST: https://chat.replai.ir/api
"چقدر ارز اربعین می‌دهند؟"
]
}

## لایک و دیسلایک پیام [/chats/messages/{message_id}/like]
برای لایک کردن مقدار `true` را ارسال کنید و برای دیسلایک کردن مقدار `null` را ارسال کنید.

+ Parameters

+ message_id: `1` (number) - شناسه پیام

### لایک یا دیسلایک کردن [PUT]

+ Request (application/json)

+ Headers
Authorization: Token ***********************************

+ Body
{
"like": true
}

+ Response 200 (application/json)

{
"content":"thank you for your feedback"
}

0 comments on commit b9dc09e

Please sign in to comment.