diff options
| author | levlam <levlam@telegram.org> | 2024-12-24 18:10:56 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-12-24 18:10:56 +0300 |
| commit | 65f8aca0d42f84ae1fa9d573f3fdca3e76170bb7 (patch) | |
| tree | 922f3c06953c00458f95cb0cd593d678f3597d1e /td/telegram/MessageEntity.h | |
| parent | deb5c9642a84de250d62a3b234806331f42979d3 (diff) | |
Add td_api::chatFolderName and support custom emoji in folder names.
Diffstat (limited to 'td/telegram/MessageEntity.h')
| -rw-r--r-- | td/telegram/MessageEntity.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/td/telegram/MessageEntity.h b/td/telegram/MessageEntity.h index c310076a0..88568672f 100644 --- a/td/telegram/MessageEntity.h +++ b/td/telegram/MessageEntity.h @@ -168,6 +168,8 @@ td_api::object_ptr<td_api::formattedText> get_formatted_text_object(const UserMa const FormattedText &text, bool skip_bot_commands, int32 max_media_timestamp); +void keep_only_custom_emoji(FormattedText &text); + void remove_premium_custom_emoji_entities(const Td *td, vector<MessageEntity> &entities, bool remove_unknown); void remove_unallowed_entities(const Td *td, FormattedText &text, DialogId dialog_id); |
