(text: string)
| 121 | // Telegram uses UTF-16 code units for offset calculation |
| 122 | return text.length; |
| 123 | } |
| 124 | |
| 125 | |
| 126 | build(): { text: string, entities: Api.TypeMessageEntity[] } { |
| 127 | return { text: this.text.trim(), entities: this.entities }; |
| 128 | } |
| 129 | // Panel Settings Adapter |