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

Function sendMessage

client/shared/model/message.ts:66–72  ·  view source on GitHub ↗
(
  payload: SendMessagePayload
)

Source from the content-addressed store, hash-verified

64 * @param payload 消息体
65 */
66export async function sendMessage(
67 payload: SendMessagePayload
68): Promise<ChatMessage> {
69 const { data } = await request.post('/api/chat/message/sendMessage', payload);
70
71 return data;
72}
73
74/**
75 * 撤回消息

Callers 4

useHandleSendMessageFunction · 0.90
index.tsxFile · 0.50
index.tsxFile · 0.50
createMeetingAndShareFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected