MCPcopy Create free account
hub / github.com/msgbyte/tailchat / searchMessage

Function searchMessage

client/shared/model/message.ts:99–111  ·  view source on GitHub ↗
(
  text: string,
  converseId: string,
  groupId?: string
)

Source from the content-addressed store, hash-verified

97 * @param messageText 聊天文本
98 */
99export 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
113interface LastMessageInfo {
114 converseId: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected