Commit Graph

6666 Commits

Author SHA1 Message Date
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
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
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
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
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
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
1e417ea212 Minor fixes. 2022-06-02 16:19:16 +03:00
levlam
329f3a11cb Fix misprints. 2022-06-02 14:02:17 +03: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
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
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
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
levlam
e1cf18f1cc Support chatInvitePublicJoinRequests. 2022-05-25 17:17:14 +03:00
levlam
59e926350e Add source to DialogInviteLink constructor. 2022-05-25 16:31:17 +03:00
levlam
f443cec9bc Add clickPremiumSubscriptionButton. 2022-05-25 15:34:36 +03:00
levlam
242776e817 Add td_api::viewPremiumFeature. 2022-05-24 20:45:03 +03:00
levlam
987c9487df Improve documentation. 2022-05-24 20:17:51 +03:00
levlam
e2ce1a64c7 Add payment_link to premiumFeatures. 2022-05-24 16:30:01 +03:00
levlam
38be1031bc Add internal "premium_bot_username" and "premium_invoice_slug" options. 2022-05-24 16:14:25 +03:00
levlam
7c7aa3d2de Save app log event in getPremiumFeatures. 2022-05-24 15:42:46 +03:00
levlam
f408c663df Remove "_limit" suffix from premium limit keys. 2022-05-24 02:59:11 +03:00
levlam
49b13c737f Add td_api::getPremiumLimit. 2022-05-24 02:55:03 +03:00
levlam
2d90ccc1bc Allow to specify source in getPremiumFeatures. 2022-05-24 02:19:30 +03:00
levlam
ab4a5d7499 Move get_premium_features to Premium.h. 2022-05-24 01:36:55 +03:00
levlam
23e9f03d70 Reuse get_premium_limit_keys. 2022-05-24 01:31:30 +03:00
levlam
7313ad311b Move get_premium_limit_keys to Premium.h. 2022-05-24 01:21:03 +03:00
levlam
2c44f8c273 Add internalLinkTypePremiumFeatures. 2022-05-23 20:37:15 +03:00
levlam
d986c9bc27 Add option "chat_filter_chosen_chat_count_max". 2022-05-23 20:04:36 +03:00