(cmd: string, args: string[], timeout = 10000)
| 677 | const attrs = getDocumentAttributes(msg); |
| 678 | if (attrs.some((a: any) => (a.className || "").includes("Sticker"))) return "sticker"; |
| 679 | if (attrs.some((a: any) => (a.className || "").includes("Animated")) || cls.includes("Dice")) return "animation"; |
| 680 | if (attrs.some((a: any) => (a.className || "").includes("Audio") && a.voice)) return "voice"; |
| 681 | if (attrs.some((a: any) => (a.className || "").includes("Audio"))) return "audio"; |
| 682 | if (attrs.some((a: any) => (a.className || "").includes("Video") && a.roundMessage)) return "round"; |
| 683 | if (attrs.some((a: any) => (a.className || "").includes("Video"))) return "video"; |
| 684 | if (cls.includes("Photo")) return "photo"; |
| 685 | if (cls.includes("Geo")) return "location"; |
| 686 | if (cls.includes("Venue")) return "venue"; |
no outgoing calls
no test coverage detected