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

Method wrapHtmlWithCollapseIfNeeded

ai/ai.ts:1502–1507  ·  view source on GitHub ↗
(
    html: string,
    collapse: boolean,
  )

Source from the content-addressed store, hash-verified

1500
1501 private wrapHtmlWithCollapseIfNeeded(
1502 html: string,
1503 collapse: boolean,
1504 ): string {
1505 return collapse ? `<blockquote expandable>${html}</blockquote>` : html;
1506 }
1507
1508 private async sendHtml(
1509 msg: Api.Message,
1510 html: string,

Callers 1

sendLongMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected