(text: string)
| 101 | text: string; |
| 102 | parseMode?: "html"; |
| 103 | }; |
| 104 | |
| 105 | function codeTag(text: string | number): string { |
| 106 | return `<code>${htmlEscape(String(text))}</code>`; |
| 107 | } |
| 108 | |
| 109 | function isMessageNotModified(error: any): boolean { |
| 110 | return String(error?.message || error).includes("MESSAGE_NOT_MODIFIED"); |
| 111 | } |
| 112 | |
| 113 | async function editMessageIgnoringNotModified( |
no outgoing calls
no test coverage detected