aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/MessageEntity.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2022-08-15 16:26:51 +0300
committerlevlam <levlam@telegram.org>2022-08-15 16:26:51 +0300
commitf0a89c3dbe6c490c2547ed783c19cf6558cae0f9 (patch)
treeb73b877f5cea73e8e75f4245fde3cfb4747fd42e /td/telegram/MessageEntity.h
parent8b6125538789812f85fb8260bc603058fca1b277 (diff)
Remove process_input_caption in favor of get_formatted_text.
Diffstat (limited to 'td/telegram/MessageEntity.h')
-rw-r--r--td/telegram/MessageEntity.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/td/telegram/MessageEntity.h b/td/telegram/MessageEntity.h
index 8dfe1a16b..9fa0c59c4 100644
--- a/td/telegram/MessageEntity.h
+++ b/td/telegram/MessageEntity.h
@@ -212,9 +212,6 @@ FormattedText get_message_text(const ContactsManager *contacts_manager, string m
td_api::object_ptr<td_api::formattedText> extract_input_caption(
tl_object_ptr<td_api::InputMessageContent> &input_message_content);
-Result<FormattedText> process_input_caption(const ContactsManager *contacts_manager, DialogId dialog_id,
- tl_object_ptr<td_api::formattedText> &&caption, bool is_bot);
-
Result<FormattedText> get_formatted_text(const Td *td, DialogId dialog_id,
td_api::object_ptr<td_api::formattedText> &&text, bool is_bot,
bool allow_empty, bool skip_media_timestamps, bool for_draft);