MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / formatSourceRange

Method formatSourceRange

save/save.ts:244–252  ·  view source on GitHub ↗
(chatId: string, start: number, end: number)

Source from the content-addressed store, hash-verified

242 }
243
244 private async sendSingleSourceMessage(
245 targetPeer: InputPeerLike,
246 sourceChatId: string,
247 sourceMessageId: number,
248 forwardedMsg: MessageContext,
249 replyMsg?: MessageContext
250 ): Promise<void> {
251 try {
252 const client = await getGlobalClient();
253 const sourceLink = this.generateMessageLink(sourceChatId, sourceMessageId);
254 const displayName = await this.getChatDisplayName(sourceChatId);
255 const sourceText = `📎 <b>消息来源</b>\n\n` +

Callers 1

Calls 2

generateMessageLinkMethod · 0.95
htmlEscapeFunction · 0.70

Tested by

no test coverage detected