Commit Graph

7309 Commits

Author SHA1 Message Date
levlam
310c4d1b6a Always try to fetch mask_position. 2022-07-21 15:54:43 +03:00
levlam
52214f37bc Don't warn when server deletes a custom emoji entity. 2022-07-21 14:10:26 +03:00
levlam
d499fa5834 tg_cli: use real custom emoji identifiers. 2022-07-21 13:54:18 +03:00
levlam
3ffe770d57 Fix generated file parsing. 2022-07-21 13:12:25 +03:00
levlam
1d7af482fe Support additional payment options in payment form. 2022-07-20 20:44:40 +03:00
levlam
7d94cc9aa8 Remove some unneeded logging. 2022-07-20 18:01:26 +03:00
levlam
4ac8be8122 Check local location of files when adding them to download manager. 2022-07-20 16:46:55 +03:00
levlam
0f87447ffc Asynchronously destroy some big data storages. 2022-07-20 13:40:14 +03:00
levlam
061c4f65d5 Drop context for SemaphoreActor before creation of the actor. 2022-07-20 10:56:48 +03:00
levlam
e8b0983d7b Use std::move to restore ActorContext. 2022-07-20 10:28:31 +03:00
levlam
771b6d3991 Add td_api::getCustomEmojiStickers. 2022-07-19 16:00:04 +03:00
levlam
ba3f24ed8d Rename stickerTypeEmoji to stickerTypeCustomEmoji. 2022-07-19 14:51:29 +03:00
levlam
219d5ecf87 Add sticker.custom_emoji_id. 2022-07-19 14:45:37 +03:00
levlam
eef3fe5932 Support custom emoji in parse_html. 2022-07-19 14:13:37 +03:00
levlam
87a5111399 Fix compilation error. 2022-07-19 12:40:34 +03:00
levlam
8e09a83506 Support custom emoji in MarkdownV2. 2022-07-18 23:40:57 +03:00
levlam
585191bb6f Process stickerSetFullCovered. 2022-07-18 21:44:44 +03:00
levlam
903236bf78 Fix wrong value of status.can_be_edited. 2022-07-18 21:14:04 +03:00
levlam
6898d07793 Make td_api::saveApplicationLogEvent persistent. 2022-07-18 19:21:47 +03:00
levlam
8673d30109 Add gift support in assignGooglePlayTransaction. 2022-07-18 15:17:01 +03:00
levlam
fd6684ab9d Disallow sending, adding to favorite and recent for emoji stickers. 2022-07-18 14:51:37 +03:00
levlam
2064034364 Rename uploadFile/cancelUploadFile for clarity. 2022-07-18 14:07:50 +03:00
levlam
1a2d1adb0c Fix early return in ContactsManager::drop_user_photos. 2022-07-18 01:43:46 +03:00
levlam
4482ee461d Call update_user and update_user_full in on_set_profile_photo just in case. 2022-07-18 01:39:51 +03:00
levlam
fb0689545d Add textEntityTypeCustomEmoji. 2022-07-18 01:03:58 +03:00
levlam
7cd65d06a1 Support emoji stickers in get_max_sticker_file_size. 2022-07-17 23:49:46 +03:00
levlam
4442293acf Support trending emoji sticker sets. 2022-07-17 22:39:22 +03:00
levlam
1f2e8d7c57 Check voice_messages_forbidden for private chats before sending messages. 2022-07-17 17:15:48 +03:00
levlam
45f68d9e06 Ensure that voice_messages_forbidden is false for non-premium users. 2022-07-17 17:15:15 +03:00
levlam
fcfe9c3996 Add userFullInfo.as_restricted_voice_and_video_note_messages. 2022-07-17 16:59:12 +03:00
levlam
0147c97f9c Ensure that the same notification doesn't added and removed simultaneously. 2022-07-17 14:17:22 +03:00
levlam
c7fe53ecae Add additional checks in DownloadManager. 2022-07-17 14:02:33 +03:00
levlam
75902bb8a7 Improve logging. 2022-07-17 13:31:43 +03:00
levlam
15e0786632 Add userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages. 2022-07-16 21:20:18 +03:00
levlam
72bc285637 Delete from database information about unlinked files. 2022-07-16 17:25:28 +03:00
levlam
32c7bd8bcd Support thumbnail_document_id. 2022-07-16 17:22:30 +03:00
levlam
02396be7eb Allow internal links in bio of non-premium users. 2022-07-16 16:10:06 +03:00
levlam
bedec2c9ba Add StickersManager::get_sticker_set_thumbnail_object. 2022-07-16 15:45:30 +03:00
levlam
577d48cba5 Add premiumFeatureCustomEmoji. 2022-07-16 14:33:54 +03:00
levlam
cb33c7b852 Delete min channel in add_channel. 2022-07-15 17:39:23 +03:00
levlam
347e1b81cf Avoid warnings for changes of restricted messages. 2022-07-15 17:04:41 +03:00
levlam
ddb572b830 Add more debug for have_full_history. 2022-07-15 17:03:40 +03:00
levlam
d506c4732a Add getPremiumGiftOptionSticker. 2022-07-15 16:15:59 +03:00
levlam
2c7493978b Remove unneeded td_api::getAllAnimatedEmojis. 2022-07-15 15:29:19 +03:00
levlam
d3b9b3b7c4 Support premium gifts special sticker set. 2022-07-15 15:24:08 +03:00
levlam
a114133854 Add purpose to canPurchasePremium. 2022-07-15 14:09:37 +03:00
levlam
3bfb3cdbb1 Add explicit flag sticker.is_premium. 2022-07-15 13:37:46 +03:00
levlam
abc9ed2cd9 Minor fixes. 2022-07-14 18:38:48 +03:00
Arseny Smirnov
bf80c43c05 fix CE 2022-07-14 18:36:46 +04:00
levlam
ea8f81187e Support documentAttributeCustomEmoji. 2022-07-14 17:11:36 +03:00
levlam
5bdc4e207b Add stickerTypeEmoji. 2022-07-14 16:42:27 +03:00
levlam
c34f5d063b Use StickerType instead of is_masks everywhere. 2022-07-14 16:17:19 +03:00
Arseny Smirnov
7ddc3099f6 remove td::this_thread::yield function. usleep_for(1) used instead 2022-07-14 16:15:17 +04:00
levlam
b447c32fe9 Add class StickerType. 2022-07-14 15:02:55 +03:00
levlam
a896edcd14 Move mask_position out of stickerTypeMask. 2022-07-14 14:38:25 +03:00
levlam
7d5dc9fd16 Split sticker format and sticker type in API. 2022-07-14 13:58:33 +03:00
levlam
b8bd39dc6f Fix PaymentSuccessful comparison. 2022-07-14 00:13:52 +03:00
levlam
7618c9aa64 Add get_sticker_type function. 2022-07-13 23:02:46 +03:00
levlam
98bfbc9000 Use random_id == 1 in ChangeImportedContacts. 2022-07-12 23:04:01 +03:00
levlam
c01dd0d461 Increase MessageUnsupported version. 2022-07-12 22:50:28 +03:00
levlam
e44418f2b3 Add and use everywhere OptionsManager::get_synchronous_options(). 2022-07-11 15:36:29 +03:00
levlam
ee7011538a Use OptionManager::get_option_synchronously internally. 2022-07-11 14:01:56 +03:00
levlam
17a548292b Allow to get synchronously options "version" and "commit_hash". 2022-07-11 13:33:56 +03:00
levlam
61f7da7215 Add option "commit_hash". 2022-07-11 12:57:42 +03:00
levlam
4300c64a30 Add Td::get_version_option_value_object(). 2022-07-11 12:47:23 +03:00
levlam
6eb03bdc8b Generate GitCommitHash.cpp during building. 2022-07-11 12:20:31 +03:00
levlam
89aaf648fc Add Client.setLogMessageHandler to Java example. 2022-07-08 15:01:38 +03:00
levlam
20fa839dfe Crash on "Lost promise" errors. 2022-07-08 11:22:13 +03:00
levlam
435e4e483d Clarify verbosiy level range in the documentation. 2022-07-08 11:21:31 +03:00
Andrea Cavalli
277513ce18 Merge remote-tracking branch 'td/master' 2022-07-03 23:48:22 +02:00
levlam
d489014350 Compare stickers and animation by their remote ID when remove them from recent/saved. 2022-07-03 12:17:04 +03:00
levlam
d75791481f Improve FileView::get_main_file_id() method name. 2022-07-03 12:01:08 +03:00
levlam
2f17f55305 Don't dup stickers in a set. 2022-07-03 11:53:01 +03:00
levlam
8537b3d495 Move MultiTimeout to MultiTimeout.h. 2022-07-02 23:32:18 +03:00
levlam
6817f3fc44 Allow to specify password in deleteAccount. 2022-07-01 21:25:34 +03:00
levlam
54c052adce Add td_api::StorePaymentPurpose. 2022-07-01 19:27:59 +03:00
levlam
aeed6c45d7 Add logging for skipped unneeded chat actions. 2022-07-01 16:56:27 +03:00
levlam
c3017916e0 Autostart links to Premium bot. 2022-07-01 16:31:15 +03:00
levlam
2472e13f7f Add internalLinkTypeBotStart.autostart. 2022-07-01 16:21:29 +03:00
levlam
035f24b8e9 Add userFullInfo.premium_gift_options. 2022-07-01 15:57:38 +03:00
levlam
4f7113395b Add td_api::messageGiftedPremium. 2022-07-01 15:28:22 +03:00
levlam
dd89d46a27 Unify message media type variable names. 2022-07-01 15:04:11 +03:00
levlam
e38615b71e Update layer to 144. 2022-07-01 14:33:59 +03:00
levlam
906d773d6e Fix database initialization. 2022-06-30 20:51:59 +03:00
Andrea Cavalli
f4fd06684c Merge remote-tracking branch 'td/master' 2022-06-30 01:38:03 +02:00
levlam
e43d90c089 Remove unused scheduler_id parameters. 2022-06-30 00:46:02 +03:00
Andrea Cavalli
377050ced3 Merge remote-tracking branch 'td/master' 2022-06-29 23:33:12 +02:00
levlam
32724a5a6c Add and use Scheduler::run_on_scheduler. 2022-06-30 00:28:25 +03:00
levlam
aa635a89c2 Check keyboard buttons data for validness. 2022-06-29 15:57:59 +03:00
levlam
d9d76adb7c Return user_id in inline keyboard as is for local and yet unsent messages. 2022-06-29 11:17:51 +03:00
levlam
e8dccae751 Explicitly pass ContactsManager to
get_input_reply_markup/get_reply_markup_object.
2022-06-28 18:34:53 +03:00
levlam
8f472521d4 Avoid expected logging. 2022-06-28 17:22:04 +03:00
levlam
2953a2ec64 Ignore accidentally received web pages by bots. 2022-06-28 17:10:57 +03:00
levlam
70d4fd863b Avoid updates serialization if it will not be needed. 2022-06-28 16:50:22 +03:00
levlam
9ef9751f5f Immediately exit UpdatesManager::process_updates if there are no updates to process. 2022-06-28 16:43:51 +03:00
levlam
faaf8f10f9 Process channel PTS updates during getDifference. 2022-06-28 16:39:32 +03:00
levlam
26fdb92dd8 Minor improvements. 2022-06-28 15:32:05 +03:00
levlam
386fec3d17 Improve LogEvent store debug. 2022-06-28 15:18:16 +03:00
levlam
ebebe0300c Move promise_send_closure to PromiseFuture.h. 2022-06-28 14:02:14 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
513da45a8f Use free-standing function to create event promises. 2022-06-27 02:57:56 +03:00
levlam
f62632fcbc Remove rarely used PromiseCreator::lambda with 2 lambdas. 2022-06-26 17:11:27 +03:00
levlam
3dcafdc873 Improve log messages. 2022-06-25 21:22:02 +03:00
levlam
63d5a1f32a Fix check. 2022-06-25 21:15:03 +03:00
levlam
08e60886f7 Fix promise set in updates proxessing. 2022-06-25 09:26:30 +03:00
levlam
e0605b2013 Add td_api::assignAppStoreTransaction. 2022-06-24 18:14:00 +03:00
levlam
2144d8fcd0 Add td_api::assignGooglePlayTransaction. 2022-06-24 17:27:03 +03:00
levlam
44cf826142 Fix Like filter icon. 2022-06-24 17:07:48 +03:00
levlam
9e13745487 Add td_api::canPurchasePremium. 2022-06-24 17:07:10 +03:00
levlam
7153a17bd7 Don't check full local locations after loading file from database. 2022-06-24 14:59:42 +03:00
levlam
c4690c9ed3 Add more logging. 2022-06-24 14:59:02 +03:00
levlam
e2acc0ddab Support 7 new filter icons. 2022-06-24 14:27:49 +03:00
levlam
c51f283332 Improve logging. 2022-06-24 13:44:54 +03:00
levlam
d29d508b84 Avoid MultiPromise usage if there is only one update to process. 2022-06-23 22:00:48 +03:00
levlam
638b4346ca Remove separate MessagesManager::on_update_scheduled_message_id. 2022-06-23 17:05:43 +03:00
levlam
3659842864 Fix updateNotificationGroup. 2022-06-23 16:36:58 +03:00
levlam
6572d02dbd Use current time as update date if it is unknown. 2022-06-23 14:06:06 +03:00
levlam
3f763f6fc5 Add more logging. 2022-06-22 16:15:56 +03:00
Andrea Cavalli
a116cc9b19 Merge remote-tracking branch 'td/master' 2022-06-21 18:38:28 +02:00
levlam
375d3d23fb Fix handling of stickerSetNotModified. 2022-06-21 17:34:24 +03:00
levlam
b393215d66 Forget local polls only by timeout. 2022-06-21 03:35:54 +03:00
levlam
86c130a462 Minor fixes. 2022-06-21 02:55:53 +03:00
levlam
ee926f86a3 Move directory creation and database check to another thread. 2022-06-21 02:02:48 +03:00
levlam
1528cfb9da Add get_database_scheduler_id(). 2022-06-20 22:02:45 +03:00
levlam
854b67d1e3 Add and increase cache version for AttachMenuBot. 2022-06-20 19:56:04 +03:00
levlam
16c01b5690 Support Web App placeholder for attach menu bots. 2022-06-20 19:31:04 +03:00
levlam
54fea1a8c5 Reload ChatFull with outdated photo. 2022-06-20 18:40:13 +03:00
levlam
f3792b15a3 Fix log formatting. 2022-06-20 17:56:06 +03:00
levlam
21d8ba2f41 Ignore authorization loss errors while logging out. 2022-06-20 17:43:08 +03:00
levlam
49bd383b35 Immediately forget local polls after sending. 2022-06-20 16:53:28 +03:00
levlam
71573fd320 Add themeParameters.secondary_background_color. 2022-06-20 16:15:09 +03:00
levlam
9fb347fd56 Avoid config reload on start. 2022-06-20 14:34:00 +03:00
Arseny Smirnov
8ac019e589 trying to fix bug when active temporary auth key is dropped 2022-06-20 13:18:25 +02:00
levlam
7eabd8ca60 Update version to 1.8.4. 2022-06-19 19:51:00 +03:00
levlam
b6019f25e4 Improve sticker order for trending sticker sets. 2022-06-18 11:16:32 +03:00
levlam
f1247493c5 Add class trendingStickerSets. 2022-06-17 19:16:17 +03:00
levlam
dc8903fc71 Allow to get stcikerSetInfo with preferred premium stickers. 2022-06-17 08:59:54 +03:00
levlam
762b1577e9 Add StickersManager::split_stickers_by_premium. 2022-06-16 21:12:20 +03:00
levlam
8dc2fbbf90 Document photo restrictions in inputMessagePhoto. 2022-06-16 18:56:19 +03:00
levlam
80df1e2968 Add notificationTypeNewMessage.show_preview. 2022-06-16 18:54:50 +03:00
levlam
1cbfec9de9 Add pushMessageContentRecurringPayment. 2022-06-16 16:42:36 +03:00
levlam
e2b0c8bdc2 Make links clickable in product description. 2022-06-16 16:11:24 +03:00
levlam
97d82e8edb Unlink files in FileLoadManager thread. 2022-06-16 13:32:14 +03:00
levlam
a1c3e09378 Log only unhandled file errors. 2022-06-16 13:07:31 +03:00
levlam
ed7b8f3a19 Move read_file_part to FileLoadManager thread. 2022-06-16 00:25:47 +03:00
levlam
62a97d8eb6 Simplify FileLoadManager::get_content. 2022-06-15 21:40:23 +03:00
levlam
67605936ed Improve spelling. 2022-06-15 21:24:26 +03:00
levlam
4afe67c18b Reuse get_gc_scheduler_id. 2022-06-15 20:32:42 +03:00
levlam
388f3d0454 Lazily create file directories. 2022-06-15 16:23:46 +03:00
levlam
bdd70379f1 Simplify usage of create_from_temp and search_file. 2022-06-14 21:09:07 +03:00
levlam
dcb77ce187 Drop SemaphoreActor context. 2022-06-14 16:30:09 +03:00
levlam
782aa6a2ec Minor fixes. 2022-06-14 16:11:38 +03:00
levlam
f12da0fed5 Move payment form URL to paymentProviderOther. 2022-06-13 17:02:47 +03:00
levlam
132ccfb289 Add paymentProviderSmartGlocal. 2022-06-13 16:50:25 +03:00
levlam
28822af866 Fix is_premium_available. 2022-06-13 16:19:14 +03:00
Andrea Cavalli
2bb228c967 Merge remote-tracking branch 'td/master' 2022-06-12 23:14:23 +02:00
levlam
047246f366 Fix CHECK. 2022-06-12 16:03:53 +03:00
levlam
f93001b0f3 Minor handhake semaphore improvements. 2022-06-11 01:47:00 +03:00
levlam
caf84b01b7 Fix database init. 2022-06-10 19:05:43 +03:00
Arseny Smirnov
2171452e77 init TdDb in db thread 2022-06-10 16:11:06 +02:00
levlam
f95f76c4de Support asynchronous TdDb::open. 2022-06-10 16:44:53 +03:00
Arseny Smirnov
ef3900a853 Use SemaphoreActor for global hanshakes flood limit 2022-06-10 15:17:38 +02:00
levlam
63e55553f5 Improve stickers order in getStickers. 2022-06-10 14:31:28 +03:00
levlam
59620b0e7d Add internal premium stickers options. 2022-06-10 13:04:46 +03:00
levlam
70f4e9d3cc Avoid expected logging for failed secret chats. 2022-06-09 19:10:38 +03:00
levlam
1b5798393d Move FloodControlGlobal to tdutils. 2022-06-09 17:12:59 +03:00
levlam
a30ac1c277 Minor improvements. 2022-06-09 16:38:38 +03:00
Arseny Smirnov
7941672e79 add some kind of global limit for concurrent hanshakes 2022-06-09 11:10:38 +02:00
levlam
83fdbd7859 Move some AvailableReaction methods to AvailableReaction.h. 2022-06-09 01:48:39 +03:00
levlam
cb98c0a10a Add class AvailableReaction. 2022-06-09 01:07:53 +03:00
levlam
2570044eba Return, whether available reaction needs premium. 2022-06-08 17:34:13 +03:00
levlam
6f7a62efa6 Apply user changes in GetPremiumPromoQuery. 2022-06-08 15:50:11 +03:00
levlam
09a39b4cb3 Ensure that parsed file size isn't negative. 2022-06-08 03:55:27 +03:00
levlam
848093c0c4 Check files of any size by hash. 2022-06-08 03:50:23 +03:00
levlam
b0b98f8f83 Return bio as formatted text. 2022-06-07 18:28:19 +03:00
levlam
1484af8c97 Improve documentation. 2022-06-07 17:27:33 +03:00
levlam
9570a39a60 Actually parse value of "premium_purchase_blocked". 2022-06-07 17:22:58 +03:00
levlam
f48fd19e98 Fix is_premium flag. 2022-06-07 17:21:45 +03:00
Andrea Cavalli
7eece22bf3 Bugfix 2022-06-07 00:21:49 +02:00
Andrea Cavalli
115338851e Merge remote-tracking branch 'td/master' 2022-06-07 00:21:42 +02:00
levlam
dba308951a Add comments for entity type priorities. 2022-06-06 20:44:44 +03:00
levlam
bfcf52f87c Support MTPROTO_CLUSTER_INVALID error. 2022-06-06 20:36:15 +03:00
levlam
08e09160d6 Return animations instead of videos in premiumState. 2022-06-06 18:50:50 +03:00
levlam
157878f47e Fix reply_in_dialog_id. 2022-06-06 18:01:44 +03:00
levlam
fc2a95cac6 Avoid expected error logging. 2022-06-06 17:44:38 +03:00
levlam
470563c289 Improve log messages. 2022-06-06 17:13:56 +03:00
levlam
a5f161849b tg_cli: fix InputInvoice. 2022-06-06 17:11:43 +03:00
levlam
d626110e43 Add "is_premium_available" option. 2022-06-06 15:01:58 +03:00
levlam
1cace9e666 Ensure that message chat photo is not null. 2022-06-05 22:51:13 +03:00
levlam
82c9d538ce Ensure that photo is not null. 2022-06-05 22:39:03 +03:00
Andrea Cavalli
f85e534704 Merge remote-tracking branch 'td/master' 2022-06-05 18:32:00 +02:00
levlam
cfe5c4a43b Ensure that strings passed to TDLib's log message callback are UTF-8 encoded. 2022-06-04 14:57:29 +03:00
levlam
a8e8136f34 Improve DialogParticipantStatus logging. 2022-06-04 13:58:08 +03:00
levlam
cd095fa142 Improve documentation. 2022-06-03 18:46:13 +03:00
levlam
444d083f48 Add td_api::getPremiumStickers. 2022-06-03 18:16:12 +03:00
levlam
e81424ee86 Fix warning message. 2022-06-03 17:35:23 +03:00
levlam
8fae960e43 Support premium stickers in secret chats. 2022-06-03 17:31:48 +03:00
levlam
8b9bed6a0b Add messageSticker.is_premium. 2022-06-03 16:33:49 +03:00
levlam
e86b323de9 Fix warning. 2022-06-03 12:29:31 +03:00
levlam
492a84d52b Fix setting first_database_message_id. 2022-06-03 02:29:10 +03:00
levlam
1c0205c1be Improve log message. 2022-06-03 02:12:26 +03:00
levlam
014b458425 Add Dimensions.h. 2022-06-02 17:52:12 +03:00
levlam
4bd6bd377b Fix empty chatAdministrators object creation. 2022-06-02 16:34:05 +03:00
levlam
1e417ea212 Minor fixes. 2022-06-02 16:19:16 +03:00
levlam
329f3a11cb Fix misprints. 2022-06-02 14:02:17 +03:00
Andrea Cavalli
f73adb408a Merge remote-tracking branch 'td/master' 2022-06-01 23:25:22 +02:00
levlam
5c7f842f72 Actually support targetChatChosen. 2022-06-01 18:35:34 +03:00
levlam
8c59d4bd6d Improve td_api::internalLinkTypeAttachmentMenuBot. 2022-06-01 18:06:49 +03:00
levlam
9aac7a4d0c Add td_api::premiumFeatureAppIcons. 2022-06-01 17:19:05 +03:00
levlam
dfe067e52e Add supported chat types to internalLinkTypeAttachmentMenuBot. 2022-06-01 17:12:53 +03:00
levlam
7092674c05 Add td_api::getPremiumState. 2022-06-01 15:14:09 +03:00
levlam
969322f32d Use capital first letters in "Web App". 2022-05-31 18:00:09 +03:00
levlam
f189351397 Add attachMenuBot.supports_settings. 2022-05-31 17:57:57 +03:00
levlam
3ae2ec38c5 Always reload scope notification settings. 2022-05-31 17:18:27 +03:00
levlam
72f3288bec Add source to get_history_from_the_end_impl. 2022-05-31 16:33:37 +03:00
levlam
ab6f2bd52f Remove logging of owner_dialog_id. 2022-05-31 16:19:08 +03:00
levlam
cd458ce522 Improve log message. 2022-05-31 16:10:11 +03:00
levlam
dc8d94383a Call get_message_id once in on_get_history. 2022-05-31 15:56:38 +03:00
levlam
bcea804864 Keep chat position if failed to add last message to it. 2022-05-31 15:39:41 +03:00
levlam
1c2ff4fd5a Add note that log messages aren't guaranteed to be encoded in UTF-8. 2022-05-31 15:16:34 +03:00
levlam
b4a643cffd Simplify file size error creation. 2022-05-31 15:12:40 +03:00
levlam
a282cce5d4 Add and use utf8_encode. 2022-05-31 15:08:16 +03:00
levlam
bf0caca138 Simplify LinkManager::check_link usage. 2022-05-31 01:41:01 +03:00
levlam
de34ffb530 Always use error code 400 in SecureValue processing errors. 2022-05-30 22:59:59 +03:00
levlam
6d0e57a8c5 Add is_recurring flags to messagePaymentSuccessful. 2022-05-30 16:35:25 +03:00
levlam
b1b532b818 Add invoice.recurring_payment_terms_of_service_url. 2022-05-30 16:09:50 +03:00
levlam
3b4b276737 Add chatPhoto.small_animation. 2022-05-30 04:01:55 +03:00
levlam
42ab42c83a Add bio_length_max option. 2022-05-30 03:23:21 +03:00
levlam
549b86371d Add premiumLimitTypeBioLength. 2022-05-30 02:20:12 +03:00
levlam
63a4027ab2 Add source to on_get_poll. 2022-05-29 19:31:36 +03:00
levlam
5b089ee762 Log original decrypted message version without local replacements. 2022-05-28 23:44:41 +03:00
levlam
677c5795a3 Cancel speech recognition by timeout. 2022-05-27 19:07:37 +03:00
levlam
b56b778660 Add rateSpeechRecognition. 2022-05-26 20:40:43 +03:00
levlam
d2c6e7726f Avoid fixing last_new_message_id to yet_unsent message in secret chats. 2022-05-26 18:51:22 +03:00
levlam
c0890a5f8a Improve error message. 2022-05-26 18:35:16 +03:00
levlam
c3f9904052 Don't send typings about copied messages. 2022-05-26 17:44:14 +03:00
levlam
43e51f8f65 Explicitly process reaction notifications as unsupported. 2022-05-26 17:23:52 +03:00
levlam
a90dd653af Avoid logging to error if invalid dimensions were provided by app. 2022-05-26 17:13:31 +03:00
levlam
f8951e6154 Improve log message. 2022-05-26 17:01:47 +03:00
levlam
a136ee5caa Locally search for short usernames, beginning with @. 2022-05-26 16:53:32 +03:00
levlam
0c839c8169 Ignore QUERY_TOO_SHORT errors. 2022-05-26 16:38:37 +03:00
levlam
ccbb9183c8 Don't try to load administrators in left basic groups. 2022-05-26 16:02:14 +03:00
levlam
38b56792cd Reload group call if number of members became negative. 2022-05-26 15:32:15 +03:00
levlam
980c4f9f71 Silence expected warning. 2022-05-26 15:21:56 +03:00
levlam
7962df5e35 Fix poll unload. 2022-05-26 14:44:30 +03:00
Andrea Cavalli
1b0b3829aa Merge remote-tracking branch 'td/master' 2022-05-25 22:12:16 +02:00
levlam
d9a9693747 Support updateTranscribeAudio. 2022-05-25 21:48:31 +03:00
levlam
151654eeea Add td_api::recognizeSpeech 2022-05-25 21:18:40 +03:00
levlam
de4d3e7620 Register voice note messages. 2022-05-25 19:39:15 +03:00
levlam
44832189e3 Add voiceNote.recognized_text 2022-05-25 19:24:40 +03:00