Commit Graph

6637 Commits

Author SHA1 Message Date
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
levlam
c584b48c10 Replace MAX_INCLUDED_FILTER_DIALOGS with a function. 2022-05-23 19:04:09 +03:00
levlam
ef28bae155 Document the ability to increase limits with Telegram Premium. 2022-05-23 18:52:01 +03:00
levlam
e336819ac8 Add and use "chat_filter_count_max" option. 2022-05-23 18:26:54 +03:00
levlam
d87cd52b68 Return information about increased limits for Premium users. 2022-05-23 17:47:06 +03:00
levlam
2166f80ccb Add td_api::getPremiumFeatures. 2022-05-23 15:56:31 +03:00
levlam
e9a8d43a0a Add td_api::getAllAnimatedEmojis. 2022-05-23 14:05:35 +03:00
levlam
4e8e95c81c Expect empty input media for a file too big to be sent to a secret chat. 2022-05-20 16:31:41 +03:00
levlam
0bc767f943 Pass max_resource_limit as parameter to ResourceManager. 2022-05-20 16:11:31 +03:00
levlam
3886e9e644 Update config after premium has changed. 2022-05-20 15:20:54 +03:00
levlam
2f186a9eeb Allow to change position of main chat list for premium users. 2022-05-19 21:19:06 +03:00
levlam
9f8de1d146 Add main_chat_list_position to updateChatFilters. 2022-05-19 16:57:11 +03:00
levlam
d4b6d08268 Add is_premium option. 2022-05-19 15:28:06 +03:00
levlam
63d607c6c3 Improve rescheduling of scheduled messages with replies. 2022-05-18 21:11:28 +03:00
levlam
647374a33f Keep replies in forwarded scheduled messages. 2022-05-18 20:40:44 +03:00
levlam
9092c58af7 Update replied message identifier in delete_sent_message_on_server. 2022-05-18 19:10:48 +03:00
levlam
8a9ea2899b Allow only HTTPS links as login URL. 2022-05-13 14:29:32 +03:00
levlam
486a32cf40 Improve is_recommended documentation. 2022-05-13 14:13:32 +03:00
levlam
e28828fb97 Add user.added_to_attachment_menu flag. 2022-05-11 19:30:35 +03:00
levlam
4ef4933536 Add optional invoice name to messagePaymentSuccessful. 2022-05-11 18:52:45 +03:00
levlam
0909f88bc3 Use int53 for file size in TDLib API. 2022-05-11 17:17:20 +03:00
levlam
880a582959 Add layer 143 to secret chats. 2022-05-11 07:46:06 +03:00
levlam
81a8f832d3 Support 64-bit file size in server-side API. 2022-05-10 17:13:16 +03:00
levlam
4ba68b5672 Fix bot description photo. 2022-05-07 23:17:04 +03:00
levlam
0da61037d3 Support recommended sponsored messages. 2022-05-07 12:12:16 +03:00
levlam
412404a721 Support TCP reflectors. 2022-05-07 11:42:48 +03:00
levlam
0a280c5b0d Support alternative form of invoice links. 2022-05-07 11:28:25 +03:00
levlam
1970f65f56 Add td_api::createInvoiceLink. 2022-05-06 16:37:11 +03:00
levlam
0fbafead84 Add product title, description and photo to payment form information. 2022-05-06 13:59:16 +03:00
levlam
7166836c1a Add td_api::InputInvoice. 2022-05-03 18:50:29 +03:00