1.5
This commit is contained in:
@@ -37,4 +37,7 @@ export const chatApi = {
|
||||
|
||||
deleteMessage: (conversationId: string, messageId: string) =>
|
||||
api.delete(`/conversations/${conversationId}/messages/${messageId}`),
|
||||
|
||||
searchMessages: (conversationId: string, keyword: string) =>
|
||||
api.get(`/conversations/${conversationId}/messages/search`, { params: { q: keyword } }),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user