| 130 | }; |
| 131 | |
| 132 | class MessageSender { |
| 133 | static async sendOrEdit(msg: Api.Message, text: string, parseMode: "html" | "markdown" = "html"): Promise<Api.Message | undefined> { |
| 134 | try { |
| 135 | return await msg.edit({ text, parseMode, linkPreview: false } as any); |
nothing calls this directly
no outgoing calls
no test coverage detected