aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/MessageImportManager.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-07-11 15:18:56 +0300
committerlevlam <levlam@telegram.org>2025-07-11 15:18:56 +0300
commitb92fbe2d3f16a9c4f16eaadbf6395374644cd32d (patch)
treea52cebe5424384eab5fd36421858bf73f98d46eb /td/telegram/MessageImportManager.h
parentb67a02e80942083d4e40529bc53630fd3ee7c959 (diff)
Move get_message_content_fake_input_media to MessageImportManager.
Diffstat (limited to 'td/telegram/MessageImportManager.h')
-rw-r--r--td/telegram/MessageImportManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/td/telegram/MessageImportManager.h b/td/telegram/MessageImportManager.h
index 6bc7f0a1b..8f1415673 100644
--- a/td/telegram/MessageImportManager.h
+++ b/td/telegram/MessageImportManager.h
@@ -57,6 +57,9 @@ class MessageImportManager final : public Actor {
void upload_imported_message_attachment(DialogId dialog_id, int64 import_id, FileUploadId file_upload_id,
bool is_reupload, Promise<Unit> &&promise, vector<int> bad_parts = {});
+ telegram_api::object_ptr<telegram_api::InputMedia> get_fake_input_media(
+ telegram_api::object_ptr<telegram_api::InputFile> input_file, FileId file_id) const;
+
void on_upload_imported_message_attachment(FileUploadId file_upload_id,
telegram_api::object_ptr<telegram_api::InputFile> input_file);