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

Function isProgressText

parsehub/parsehub.ts:101–105  ·  view source on GitHub ↗
(text?: string | null)

Source from the content-addressed store, hash-verified

99 return PROGRESS_PREFIXES.some((prefix) => stripped.startsWith(prefix));
100};
101
102/** True when message carries real media. */
103function hasMediaPayload(msg: Api.Message): boolean {
104 const media = (msg as any).media;
105 if (!media) return false;
106 const cn = media.className || media._ || "";
107 if (!cn || cn === "MessageMediaEmpty") return false;
108 return true;

Callers 1

relayParseResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected