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

Function describeServiceMessage

biko/biko.ts:251–256  ·  view source on GitHub ↗
(message: any)

Source from the content-addressed store, hash-verified

249}
250
251function describeDocumentMessage(message: any): string {
252 const attributes = Array.isArray(message?.document?.attributes)
253 ? message.document.attributes
254 : [];
255
256 if (
257 attributes.some((attr: any) => attr instanceof Api.DocumentAttributeSticker)
258 ) {
259 return "[贴纸]";

Callers 1

buildMessageTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected