levlam
|
086f598411
|
Simplify download error handling.
|
2024-07-25 13:53:01 +03:00 |
|
levlam
|
8f7e9e116b
|
Fix FILE_UPLOAD_RESTART.
|
2024-07-25 13:45:34 +03:00 |
|
levlam
|
2760db1fe4
|
Separate Download/Generate/Upload queries.
|
2024-07-24 16:10:13 +03:00 |
|
levlam
|
016663d807
|
Split FileManager::on_error_impl.
|
2024-07-24 15:49:16 +03:00 |
|
levlam
|
88c2fd50e5
|
Improve sendStory.chat_id documentation.
|
2024-07-23 11:33:57 +03:00 |
|
levlam
|
d4f0283faf
|
Improve sendStory documentation.
|
2024-07-22 08:53:10 +03:00 |
|
levlam
|
c9a92f64d6
|
Pass UserManager to get_text_entity_object.
|
2024-07-21 12:33:02 +03:00 |
|
levlam
|
3a7bdcbe5e
|
Fix clang warnings.
|
2024-07-19 15:07:05 +03:00 |
|
levlam
|
306e3e355c
|
Log ignored link preview documents.
|
2024-07-17 15:24:44 +03:00 |
|
levlam
|
6f3fd97877
|
Support media in "article" link previews.
|
2024-07-17 15:15:02 +03:00 |
|
levlam
|
f730830154
|
Rename loop() to try_stop().
|
2024-07-16 14:18:29 +03:00 |
|
levlam
|
b46b108060
|
Call loop() in close_node.
|
2024-07-16 14:11:57 +03:00 |
|
levlam
|
fee576f702
|
Don't inherit FileFromBytes from FileLoaderActor.
|
2024-07-16 14:07:20 +03:00 |
|
levlam
|
e2c17af598
|
Make inherited FileHashUploader methods private.
|
2024-07-16 14:00:57 +03:00 |
|
levlam
|
0971292303
|
Remove update_downloaded_part from FileLoaderActor.
|
2024-07-16 13:58:48 +03:00 |
|
levlam
|
ee4794b343
|
Remove update_local_file_location from FileLoaderActor.
|
2024-07-15 14:44:36 +03:00 |
|
levlam
|
34e81dc272
|
Set stop_flag_ in FileiDownloader::on_error.
|
2024-07-14 00:16:53 +03:00 |
|
levlam
|
6564c43d58
|
Inline FileDownloader::init.
|
2024-07-13 23:29:19 +03:00 |
|
levlam
|
cd33aa82cc
|
Merge FileLoader and FileDownloader.
|
2024-07-13 23:20:13 +03:00 |
|
levlam
|
284fe8be53
|
Remove some unused private fields.
|
2024-07-13 17:54:38 +03:00 |
|
levlam
|
826ba49660
|
Set stop_flag_ in FileUploader::on_error.
|
2024-07-13 10:53:57 +03:00 |
|
levlam
|
bb0eb35027
|
Inline FileLoader to FileUploader.
|
2024-07-13 00:59:24 +03:00 |
|
levlam
|
8fee0251f9
|
Remove unused start_part result value.
|
2024-07-13 00:48:47 +03:00 |
|
levlam
|
8755d39bc1
|
Simplify file_type_ update.
|
2024-07-13 00:42:33 +03:00 |
|
levlam
|
11ef2ec81a
|
Remove unused duplicate private fields.
|
2024-07-12 23:46:50 +03:00 |
|
levlam
|
706a4336c9
|
Fix expected size for file uploader.
|
2024-07-12 21:26:52 +03:00 |
|
levlam
|
72019eab50
|
Add FileGenerateManager::QueryId.
|
2024-07-12 18:44:41 +03:00 |
|
levlam
|
755d9e6689
|
Minor improvements.
|
2024-07-12 18:21:23 +03:00 |
|
levlam
|
fd822a6372
|
Move out FileDownloadManager from FileLoadManager.
|
2024-07-12 18:15:44 +03:00 |
|
levlam
|
30e4e8cecb
|
Add separate FileUploadManager.
|
2024-07-12 17:27:26 +03:00 |
|
levlam
|
82807ea456
|
Remove using QueryId = FileLoadManager::QueryId.
|
2024-07-12 16:24:07 +03:00 |
|
levlam
|
1d6e7f5b1c
|
Don't inherit FileManager from FileLoadManager::Callback.
|
2024-07-12 16:21:35 +03:00 |
|
levlam
|
1c3d52eec6
|
Fix misprint.
|
2024-07-12 15:53:20 +03:00 |
|
levlam
|
b500efff91
|
Remove FileLoader::Callback.
|
2024-07-12 15:38:10 +03:00 |
|
levlam
|
c1629cf597
|
Remove FileLoader::get_callback().
|
2024-07-12 15:35:49 +03:00 |
|
levlam
|
d5d9dabe7d
|
Mark requests const if appropriate.
|
2024-07-12 05:48:51 +03:00 |
|
levlam
|
7609306ac8
|
Improve log messages.
|
2024-07-11 22:43:44 +03:00 |
|
levlam
|
989b504a7f
|
Ignore photo for linkPreviewTypeSticker.
|
2024-07-09 14:09:32 +03:00 |
|
levlam
|
39ecb7828e
|
Update member_count documentation.
|
2024-07-08 11:30:00 +03:00 |
|
levlam
|
666071218a
|
Use linkPreviewTypePhoto for animations with photo, but without animation.
|
2024-07-08 11:27:05 +03:00 |
|
levlam
|
cb16492741
|
Update version to 1.8.33.
|
2024-07-07 00:07:17 +03:00 |
|
levlam
|
bedbd6e007
|
Minor improvements.
|
2024-07-06 23:05:07 +03:00 |
|
levlam
|
203591d295
|
Fallback to linkPreviewTypePhoto if have photo for unknown embed.
|
2024-07-06 22:05:55 +03:00 |
|
levlam
|
e630978d30
|
Fix linkPreviewTypeStory.
|
2024-07-06 18:42:36 +03:00 |
|
levlam
|
35a4c54666
|
Use linkPreviewTypePhoto for videos without video.
|
2024-07-06 18:23:26 +03:00 |
|
levlam
|
95d4ea1856
|
Use linkPreviewTypePhoto for documents without document.
|
2024-07-06 18:14:20 +03:00 |
|
levlam
|
4896db62c1
|
Log unexpected photos in link preview.
|
2024-07-05 15:22:26 +03:00 |
|
levlam
|
0c7909d87e
|
Add supergroupFullInfo.can_get_star_revenue_statistics.
|
2024-07-05 14:18:38 +03:00 |
|
levlam
|
e1951c5a84
|
Add linkPreviewTypeTheme.settings.
|
2024-07-05 14:10:36 +03:00 |
|
levlam
|
5ae0c78b89
|
Make ThemeSettings fields private.
|
2024-07-05 13:58:11 +03:00 |
|
levlam
|
91a0c1acf7
|
Add ThemeSettings::is_empty().
|
2024-07-05 13:49:26 +03:00 |
|
levlam
|
9dd2322d90
|
Add ThemeSettings.h.
|
2024-07-05 13:41:35 +03:00 |
|
levlam
|
7b858d20f2
|
Add BaseTheme.h.
|
2024-07-05 13:24:29 +03:00 |
|
levlam
|
c9bf8475f3
|
Add td_api::messagePaymentRefunded.
|
2024-07-04 20:38:40 +03:00 |
|
levlam
|
5370c29625
|
Remove unused parameters from get_link_preview_type_object.
|
2024-07-04 18:57:50 +03:00 |
|
levlam
|
9ad612a42e
|
Add td_api::linkPreviewTypeMessage.
|
2024-07-04 18:50:48 +03:00 |
|
levlam
|
a31b27c456
|
Remove duplicate linkPreview fields.
|
2024-07-04 18:42:50 +03:00 |
|
levlam
|
cc1861568b
|
Add td_api::linkPreviewTypeVideoNote and td_api::linkPreviewTypeVoiceNote.
|
2024-07-04 18:40:05 +03:00 |
|
levlam
|
cf8f72c07d
|
Add td_api::linkPreviewTypeSticker.
|
2024-07-04 18:34:30 +03:00 |
|
levlam
|
31f489372e
|
Add td_api::linkPreviewTypeAlbum.
|
2024-07-04 18:21:24 +03:00 |
|
levlam
|
70d6969b8a
|
Support "document" link preview type.
|
2024-07-04 16:39:13 +03:00 |
|
levlam
|
d193456bf2
|
Add td_api::linkPreviewTypeArticle.
|
2024-07-04 16:24:45 +03:00 |
|
levlam
|
5c4ccdb1d6
|
Add td_api::linkPreviewTypeAnimation.
|
2024-07-04 16:11:51 +03:00 |
|
levlam
|
74249b7176
|
Use td_api::linkPreviewTypeUnsupported for unsupported link preview types.
|
2024-07-04 15:29:38 +03:00 |
|
levlam
|
e34f16c3bc
|
Add td_api::linkPreviewTypePhoto.
|
2024-07-04 15:26:41 +03:00 |
|
levlam
|
14a74af9fd
|
Support link preview type "video".
|
2024-07-04 15:03:40 +03:00 |
|
levlam
|
243eee3819
|
Add td_api::linkPreviewTypeApp.
|
2024-07-04 15:02:37 +03:00 |
|
levlam
|
5944fda0d6
|
Remove embed_ fields from linkPreview.
|
2024-07-04 13:58:21 +03:00 |
|
levlam
|
f2a855901a
|
Add linkPreviewTypeAudio/linkPreviewTypeVideo.
|
2024-07-04 13:57:15 +03:00 |
|
levlam
|
baec4850ae
|
Add linkPreviewTypeEmbeddedAudioPlayer/linkPreviewTypeEmbeddedVideoPlayer.
|
2024-07-04 13:28:35 +03:00 |
|
levlam
|
f1a08b3559
|
Add td_api::linkPreviewTypeWebApp.
|
2024-07-04 10:49:35 +03:00 |
|
levlam
|
2d0d07aaae
|
Add td_api::linkPreviewTypeUser.
|
2024-07-04 10:38:39 +03:00 |
|
levlam
|
7489967137
|
Add td_api::linkPreviewTypeInvoice.
|
2024-07-04 00:32:00 +03:00 |
|
levlam
|
d913fdbb83
|
Add linkPreviewTypeChat.creates_join_request.
|
2024-07-04 00:30:17 +03:00 |
|
levlam
|
b635ec1fa5
|
Add td_api::linkPreviewTypeChat.
|
2024-07-03 23:47:06 +03:00 |
|
levlam
|
b83fa55ee1
|
Add td_api::linkPreviewType*Boost
|
2024-07-03 18:24:32 +03:00 |
|
levlam
|
c207b266bd
|
Add td_api::linkPreviewTypeChannel.
|
2024-07-03 18:16:15 +03:00 |
|
levlam
|
85758c069d
|
Add td_api::linkPreviewTypeSupergroup.
|
2024-07-03 18:15:07 +03:00 |
|
levlam
|
78d6adf837
|
Improve linkPreviewType documentation.
|
2024-07-03 18:10:21 +03:00 |
|
levlam
|
8d6cb39a8e
|
Add td_api::linkPreviewTypeVideoChat.
|
2024-07-03 17:44:20 +03:00 |
|
levlam
|
2ae48540b1
|
Add td_api::linkPreviewTypeStory.
|
2024-07-03 16:40:32 +03:00 |
|
levlam
|
6b408d486c
|
Add td_api::linkPreviewTypeTheme.
|
2024-07-03 16:31:26 +03:00 |
|
levlam
|
5b9bfcd67e
|
Add td_api::linkPreviewTypePremiumGiftCode.
|
2024-07-03 16:07:19 +03:00 |
|
levlam
|
11271865c5
|
Add td_api::linkPreviewTypeShareableChatFolder.
|
2024-07-03 16:04:04 +03:00 |
|
levlam
|
7e85824bd2
|
Add td_api::linkPreviewTypeBackground.
|
2024-07-03 15:59:55 +03:00 |
|
levlam
|
3872aa26d1
|
Add strongly-typed linkPreviewTypeStickerSet.
|
2024-07-03 15:49:53 +03:00 |
|
levlam
|
51d0e70b9e
|
Rename webPage to linkPreview.
|
2024-07-03 15:15:06 +03:00 |
|
levlam
|
f39b10d8ef
|
Update layer to 184.
|
2024-07-03 14:56:11 +03:00 |
|
levlam
|
3cd9356987
|
Fix building for Android.
|
2024-07-05 12:58:01 +03:00 |
|
levlam
|
650c3d97a9
|
Just drop main key from guest DCs if it is broken.
|
2024-07-04 19:44:37 +03:00 |
|
levlam
|
2820a9d281
|
Return back missing call to MessagesManager::before_get_difference.
|
2024-07-03 11:58:51 +03:00 |
|
AYMENJD
|
2a092888e3
|
Fix typo.
|
2024-07-02 20:42:16 +03:00 |
|
levlam
|
91b8c93a81
|
Don't dup file identifiers in forwarded messages.
|
2024-07-02 14:58:25 +03:00 |
|
levlam
|
35cfcf5d15
|
Update version to 1.8.32.
|
2024-07-01 01:02:10 +03:00 |
|
levlam
|
e2b2918d27
|
Always run upload for paid media.
|
2024-07-01 00:22:42 +03:00 |
|
levlam
|
d44af8ce19
|
Improve PaidMedia class names.
|
2024-06-30 12:26:00 +03:00 |
|
levlam
|
eb8f3419bb
|
Various fixes.
|
2024-06-30 09:29:53 +03:00 |
|
levlam
|
0ba8247033
|
Implicitly cast media_pos type.
|
2024-06-30 00:18:35 +03:00 |
|
levlam
|
60ba771415
|
Update inlineKeyboardButtonTypeUrl documentation.
|
2024-06-29 23:59:17 +03:00 |
|
levlam
|
8d6caa1688
|
Document that Web App link in botMenuButton must be processed differently.
|
2024-06-29 23:56:36 +03:00 |
|
levlam
|
0f984b24c7
|
Add internalLinkTypeSideMenuBot.is_compact.
|
2024-06-29 23:47:33 +03:00 |
|
levlam
|
aa26c117ee
|
Add internalLinkTypeWebApp.is_compact.
|
2024-06-29 22:35:45 +03:00 |
|
levlam
|
9297ae4098
|
Add "web_app_allowed_protocols" option.
|
2024-06-29 22:26:15 +03:00 |
|
levlam
|
ee2a3b3bcc
|
Add section_separator_color to theme parameters.
|
2024-06-29 22:16:10 +03:00 |
|
levlam
|
4f3eccd17e
|
Add logging if receive no expected/receive unexpected query_id.
|
2024-06-29 17:44:06 +03:00 |
|
levlam
|
db61f74b62
|
Add cloud_project_number to updateApplicationVerificationRequired.
|
2024-06-29 17:14:02 +03:00 |
|
levlam
|
9c4a509b99
|
Add td_api::pushMessageContentPaidMedia.
|
2024-06-28 18:23:34 +03:00 |
|
levlam
|
0f4e9015e5
|
Add supergroupFullInfo.has_paid_media_allowed.
|
2024-06-28 17:31:04 +03:00 |
|
levlam
|
fa49c93624
|
Support messagePaidMedia in inputInvoiceMessage.
|
2024-06-28 16:27:20 +03:00 |
|
levlam
|
1ab9b685c4
|
Create chat in GetStarsTransactionsQuery.
|
2024-06-28 14:44:22 +03:00 |
|
levlam
|
fc7cf76a5f
|
Support file reference repair for media from star transactions.
|
2024-06-28 14:05:25 +03:00 |
|
levlam
|
02bd5a2498
|
Add StarManager::reload_star_transaction.
|
2024-06-28 13:29:22 +03:00 |
|
levlam
|
218877c0ac
|
Add StarManager to Global.
|
2024-06-27 21:21:20 +03:00 |
|
levlam
|
8b1ed9d258
|
Add firebaseDeviceVerificationParametersPlayIntegrity.cloud_project_number.
|
2024-06-27 19:24:45 +03:00 |
|
levlam
|
aa6c964692
|
Add FirebaseDeviceVerificationParameters.
|
2024-06-27 19:16:43 +03:00 |
|
levlam
|
c77d6957c5
|
Support sending of multiple paid media.
|
2024-06-27 18:38:53 +03:00 |
|
levlam
|
b94cab9432
|
Improve telegramPaymentPurpose documentation.
|
2024-06-26 16:48:04 +03:00 |
|
levlam
|
3f4607cbdc
|
Add get_uploaded_message_content.
|
2024-06-26 16:32:15 +03:00 |
|
levlam
|
8a2f6c761e
|
Support upload of multiple paid media.
|
2024-06-26 15:25:56 +03:00 |
|
levlam
|
606d9bf32a
|
Support single paid media in extract_was_uploaded.
|
2024-06-26 14:55:57 +03:00 |
|
levlam
|
edb35811be
|
Support delete_message_content_thumbnail for PaidMedia.
|
2024-06-26 14:13:08 +03:00 |
|
levlam
|
ed26d0da16
|
Add struct UploadedFileInfo.
|
2024-06-26 13:39:52 +03:00 |
|
levlam
|
224ec33016
|
Always dup paid media file identifiers if there are multiple files.
|
2024-06-26 13:32:08 +03:00 |
|
levlam
|
30f1e339d6
|
Add is_uploaded_input_media.
|
2024-06-26 13:03:32 +03:00 |
|
levlam
|
c24222546e
|
Improve names of get_input_media functions from MessageContent.
|
2024-06-26 12:19:40 +03:00 |
|
levlam
|
d93d5a535f
|
Support merge_message_contents for PaidMedia.
|
2024-06-25 16:45:37 +03:00 |
|
levlam
|
5e3189f984
|
Support compare_message_content for PaidMedia.
|
2024-06-25 16:22:15 +03:00 |
|
levlam
|
55ba5ba092
|
Add and use MessageExtendedMedia::dup_to_send.
|
2024-06-25 15:17:00 +03:00 |
|
levlam
|
1f9062834c
|
Allow to send paid media only to channels.
|
2024-06-25 13:39:19 +03:00 |
|
levlam
|
031864db3e
|
Use dup_photo in dup_story_content.
|
2024-06-25 00:33:37 +03:00 |
|
levlam
|
c304bb12d6
|
Add and use dup_photo.
|
2024-06-25 00:24:11 +03:00 |
|
levlam
|
f8bf2d5370
|
Add show_caption_above_media to messagePaidMedia.
|
2024-06-24 22:52:40 +03:00 |
|
levlam
|
f23e47b3e4
|
Add td_api::inputMessagePaidMedia and support sending single paid media.
|
2024-06-24 21:36:14 +03:00 |
|
levlam
|
9c85fdf990
|
Add "paid_media_message_star_count_max" option.
|
2024-06-24 20:50:04 +03:00 |
|
levlam
|
60d3130193
|
Add td_api::getStarAdAccountUrl.
|
2024-06-24 20:45:55 +03:00 |
|
levlam
|
9061e9f2b1
|
Support paid media message contents with multiple files in MessagesManager.
|
2024-06-24 19:51:12 +03:00 |
|
levlam
|
719c03b0a2
|
Add and use FileManager::extract_file_references.
|
2024-06-24 18:57:32 +03:00 |
|
levlam
|
96d29d141a
|
Move caption out of MessageExtendedMedia.
|
2024-06-24 16:31:07 +03:00 |
|
levlam
|
960f407045
|
Add td_api::inputMessageExtendedMedia.
|
2024-06-24 16:13:40 +03:00 |
|
levlam
|
0e4c9d3641
|
Add td_api::premiumFeatureMessageEffects.
|
2024-06-24 14:50:06 +03:00 |
|
levlam
|
0056687a52
|
Add td_api::starTransactionPartnerTelegramAds.
|
2024-06-24 14:36:42 +03:00 |
|
levlam
|
9cb1df3586
|
Add starTransactionPartnerChannel.media.
|
2024-06-21 15:47:12 +03:00 |
|
levlam
|
0115a73d6e
|
Add starTransactionPartnerChannel.paid_media_message_id.
|
2024-06-21 15:06:54 +03:00 |
|
levlam
|
ab0a1fc9ee
|
Don't warn about bot payload for owned bots.
|
2024-06-21 14:48:59 +03:00 |
|
levlam
|
78aae0b3f3
|
Improve name of starTransactionPartnerBot.
|
2024-06-21 14:45:12 +03:00 |
|
levlam
|
e187c0ac3c
|
Update getPaymentForm documentation.
|
2024-06-21 13:48:10 +03:00 |
|
levlam
|
2b72ea52c3
|
Support PaidMedia polling.
|
2024-06-21 13:39:40 +03:00 |
|
levlam
|
a865253feb
|
Support updateMessageExtendedMedia for PaidMedia.
|
2024-06-21 13:30:40 +03:00 |
|
levlam
|
d0bc0ccfd8
|
Add td_api::messagePaidMedia.
|
2024-06-21 12:25:23 +03:00 |
|
levlam
|
5cb008b58d
|
Move caption out of ExtendedMedia.
|
2024-06-20 19:01:21 +03:00 |
|