( text: string, converseId: string, groupId?: string )
| 97 | * @param messageText 聊天文本 |
| 98 | */ |
| 99 | export async function searchMessage( |
| 100 | text: string, |
| 101 | converseId: string, |
| 102 | groupId?: string |
| 103 | ): Promise<ChatMessage[]> { |
| 104 | const { data } = await request.post('/api/chat/message/searchMessage', { |
| 105 | text, |
| 106 | converseId, |
| 107 | groupId, |
| 108 | }); |
| 109 | |
| 110 | return data; |
| 111 | } |
| 112 | |
| 113 | interface LastMessageInfo { |
| 114 | converseId: string; |
nothing calls this directly
no outgoing calls
no test coverage detected