diff options
Diffstat (limited to 'td/telegram/RichMessageMedia.cpp')
| -rw-r--r-- | td/telegram/RichMessageMedia.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/td/telegram/RichMessageMedia.cpp b/td/telegram/RichMessageMedia.cpp index 3d92b9172..2832364d1 100644 --- a/td/telegram/RichMessageMedia.cpp +++ b/td/telegram/RichMessageMedia.cpp @@ -78,7 +78,7 @@ const FullRemoteFileLocation *RichMessageMedia::get_full_main_remote_location(co return main_remote_location; } -telegram_api::object_ptr<telegram_api::InputPhoto> RichMessageMedia::get_input_photo(const Td *td) const { +telegram_api::object_ptr<telegram_api::inputPhoto> RichMessageMedia::get_input_photo(const Td *td) const { const auto *main_remote_location = get_full_main_remote_location(td); if (main_remote_location == nullptr) { return nullptr; @@ -86,7 +86,7 @@ telegram_api::object_ptr<telegram_api::InputPhoto> RichMessageMedia::get_input_p return main_remote_location->as_input_photo(); } -telegram_api::object_ptr<telegram_api::InputDocument> RichMessageMedia::get_input_document(const Td *td) const { +telegram_api::object_ptr<telegram_api::inputDocument> RichMessageMedia::get_input_document(const Td *td) const { const auto *main_remote_location = get_full_main_remote_location(td); if (main_remote_location == nullptr) { return nullptr; |
