(text: string)
| 24 | https://docs.telethon.dev/en/stable/concepts/entities.html |
| 25 | `; |
| 26 | |
| 27 | // HTML转义函数 |
| 28 | function codeTag(text: string | number): string { |
| 29 | return `<code>${htmlEscape(String(text))}</code>`; |
| 30 | } |
| 31 | async function formatEntity( |
| 32 | target: any, |
| 33 | mention?: boolean, |
| 34 | throwErrorIfFailed?: boolean |
| 35 | ) { |
| 36 | const client = await getGlobalClient(); |
no outgoing calls
no test coverage detected