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

Function fetchNearbyMessage

client/shared/model/message.ts:163–174  ·  view source on GitHub ↗
(params: {
  groupId?: string;
  converseId: string;
  messageId: string;
})

Source from the content-addressed store, hash-verified

161 * @returns 消息附近的信息
162 */
163export async function fetchNearbyMessage(params: {
164 groupId?: string;
165 converseId: string;
166 messageId: string;
167}): Promise<ChatMessage[]> {
168 const { data } = await request.post(
169 '/api/chat/message/fetchNearbyMessage',
170 params
171 );
172
173 return data;
174}
175
176/**
177 * 增加表情行为

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected