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

Function messageText

cy/cy.ts:164–167  ·  view source on GitHub ↗
(msg: Api.Message)

Source from the content-addressed store, hash-verified

162 return stablePeerPart((msg as any).peerId);
163}
164
165function messageText(msg: Api.Message): string {
166 if ((msg as any).sticker) return "";
167 return String(msg.text || msg.message || "").trim();
168}
169
170function isUsefulWord(word: string): boolean {

Callers 1

buildCloudImageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected