Commit Graph

565 Commits

Author SHA1 Message Date
levlam
b4609e910a Add td_api::internalLinkTypePremiumGiftCode. 2023-09-29 16:44:59 +03:00
levlam
cf423903a0 Add new entities to the fix_formatted_text test. 2023-10-18 13:14:07 +03:00
levlam
409dda8d77 Add more t.me subdomains to exceptions. 2023-10-07 11:42:20 +03:00
levlam
ce5c3f32e7 Support alternative boost links. 2023-09-26 13:08:54 +03:00
levlam
11c78406c3 Explicitly check returned errors. 2023-09-21 14:47:17 +03:00
levlam
714397da80 Add td_api::internalLinkTypeChatBoost. 2023-09-15 16:24:26 +03:00
levlam
3c977a0f99 Add story-related administrator rights. 2023-09-04 20:24:44 +03:00
levlam
e79f540937 Minor improvements. 2023-09-13 22:17:46 +03:00
levlam
a7d9da0229 Add internalLinkTypeSideMenuBot. 2023-09-07 19:23:07 +03:00
levlam
6022b2ce77 Improve parameter names. 2023-09-11 15:55:46 +03:00
levlam
bdcc79b418 Minor improvements. 2023-07-18 18:20:43 +03:00
levlam
10c44c0cbf Support shorter story links. 2023-06-22 20:42:48 +03:00
levlam
c62c84665a Update sendMessage usages in tests and examples. 2023-06-12 15:30:07 +03:00
levlam
f57ab79f67 Add td_api::internalLinkTypeStory. 2023-06-05 17:56:16 +03:00
levlam
3d06cdd94e Add --offset parameter to TestRunner. 2023-05-18 12:52:30 +03:00
levlam
c9f83caf9f Reset server time difference after a "MessageId is too high" error. 2023-05-14 21:58:54 +03:00
levlam
7e60c440ff Delete temporary files after test finish. 2023-04-23 02:01:51 +03:00
levlam
cc062c6b11 Update folder invite links format. 2023-04-05 19:56:05 +03:00
levlam
d62f9281a7 Improve name of internalLinkTypeChatFolderSettings. 2023-04-03 18:17:25 +03:00
levlam
241021ae83 Rename chat filters to chat folders. 2023-04-03 17:28:51 +03:00
levlam
02a2e23cac Add td_api::internalLinkTypeChatFilterInvite. 2023-03-30 21:11:15 +03:00
levlam
f294f8c47e Split parse_internal_link test to avoid GCC warning. 2023-03-17 00:42:23 +03:00
levlam
e7242b1188 Fix includes. 2023-03-06 20:36:56 +03:00
levlam
d4646d4cd9 Minor improvements. 2023-03-06 16:59:18 +03:00
levlam
1fecd55d03 Improve internal link test and fix some link parsing issues. 2023-03-02 18:03:24 +03:00
levlam
672ef60828 Add td_api::getInternalLink. 2023-03-02 16:21:36 +03:00
levlam
b7ad8e8068 Return portable tg:// URLs in internalLinkTypeMessage. 2023-03-01 22:14:26 +03:00
levlam
9652b075b6 Disallow numeric invite link hashes. 2023-03-01 21:35:16 +03:00
levlam
c8ebe2aabe Improve Web App and game name checks. 2023-02-24 14:09:47 +03:00
levlam
d8b062b21f Add td_api::internalLinkTypeWebApp. 2023-02-23 18:07:33 +03:00
levlam
22fdc0258b Use "receive"/"have"/"loaded" instead of "got" and other log message improvements. 2023-02-26 14:22:31 +03:00
levlam
b9f7cc4150 Add tests for erase_batch. 2023-02-12 03:36:52 +03:00
levlam
896de65c3e Improve field name. 2023-02-11 22:37:43 +03:00
levlam
7eee3f469a Update clang-format to 16.0.0. 2023-02-08 15:28:36 +03:00
levlam
4cb164f444 Initialize all BinlogEvent fields. 2023-02-02 21:13:52 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
882de6e8e8 Replace unsafe to maintain data_ field with get_data() method. 2023-02-02 03:08:26 +03:00
levlam
4d70d1e920 Minor improvements. 2023-01-31 13:33:30 +03:00
levlam
ef4c3902fe Fix some warnings. 2023-01-18 22:42:01 +03:00
levlam
89efc4feca Explicitly define static constexpr fields. 2023-01-17 14:46:21 +03:00
levlam
3e5f30af70 Improve event_id variable names. 2023-01-16 12:47:37 +03:00
levlam
b514162c7e Add QueryMerger test. 2023-01-13 13:53:56 +03:00
levlam
75bdc6292b Remove some getAuthorizationState usages. 2023-01-12 22:25:47 +03:00
levlam
ed2644c2fd Add tests for anonymous phone numbers. 2023-01-09 18:19:02 +03:00
levlam
8ceeb39f5d Update answers in get_phone_number_info test. 2023-01-09 17:53:07 +03:00
levlam
1919671df3 Improve parse_html test. 2023-01-09 17:07:08 +03:00
levlam
c4afb9283c Return all deleted events fron TQueue::clear. 2023-01-05 23:17:06 +03:00
levlam
8b763bedaf Move random_shuffle to tests.h. 2023-01-02 14:29:03 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
630101358b Add internalLinkTypeEditProfileSettings. 2022-12-28 18:08:00 +03:00
levlam
1a3789e88d Add internalLinkTypeDefaultMessageAutoDeleteTimerSettings. 2022-12-28 17:58:17 +03:00
levlam
bb9108ca32 Add internalLinkTypeStickerSet.expect_custom_emoji. 2022-12-27 18:17:49 +03:00
levlam
f99fb4fc06 Delete events from callback before forgetting them in TQueue. 2022-12-20 16:37:22 +03:00
levlam
02ff843bbb Add internalLinkTypeUserToken. 2022-12-01 17:42:57 +03:00
levlam
6464cff5ef Fix warning. 2022-11-23 23:14:51 +03:00
levlam
5945cc9b70 Add TQueue::clear. 2022-11-08 17:04:45 +03:00
levlam
54799d0024 Support forum message links in getInternalLinkType. 2022-11-04 14:56:25 +03:00
levlam
0bf3e7f0e6 Treat usernames of length 4 as valid. 2022-10-25 19:25:15 +03:00
levlam
6a16492266 Support can_manage_topics administrator right and chat permission. 2022-10-23 13:20:53 +03:00
levlam
897032e0fd Add support for multiple usernames. 2022-10-12 21:04:18 +03:00
levlam
738f0493b1 Fix test. 2022-10-26 08:53:09 +03:00
levlam
f12ca7fbcb Move test's KDF3 out of namespace td. 2022-10-21 06:31:49 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
bc3ea3e123 Add fallback_url to internalLinkTypeInstantView. 2022-09-26 01:48:06 +03:00
levlam
faa738d6a9 Keep only Slice overload of utf8_utf16_substr. 2022-09-22 12:08:34 +03:00
levlam
b76a920db8 Open Telegraph links in instant view. 2022-09-16 13:51:52 +03:00
levlam
0025c4164b Add internalLinkTypeInstantView. 2022-09-16 01:30:54 +03:00
levlam
1ac2dfef30 Replace ConcurrentScheduler::init with constructor. 2022-09-14 15:06:52 +03:00
levlam
e8d78263b9 Support new authorization flow in tdclient test. 2022-09-08 08:48:11 +03:00
levlam
f6a2ecdded Inline tdlibParameters in setTdlibParameters. 2022-09-07 22:19:08 +03:00
levlam
287cceb162 Remove separate authorizationStateWaitEncryptionKey. 2022-09-07 21:27:23 +03:00
levlam
e595730735 Support t.me subdomains. 2022-09-02 16:34:05 +03:00
levlam
4543c485a7 Optimize fix_url. 2022-08-20 13:44:55 +03:00
levlam
4206246b0c Simplify match_url code. 2022-08-20 11:34:21 +03:00
levlam
0d2ddc2d56 Allow only domain symbols in user data after first dot to improve performance. 2022-08-19 21:01:39 +03:00
levlam
31a4608463 Fix fix_formatted_text test. 2022-08-19 15:05:49 +03:00
levlam
c5b258f097 Explicitly pass options to get_simple_config_*. 2022-08-18 21:45:29 +03:00
levlam
8f81a46ede Allow some new characters in hashtags. 2022-07-29 16:23:05 +03:00
levlam
e3ae8957bb Support addemoji links. 2022-07-27 19:58:58 +03:00
levlam
d4b59bda87 Add internalLinkTypeRestorePurchases. 2022-07-25 12:06:32 +03:00
levlam
eef3fe5932 Support custom emoji in parse_html. 2022-07-19 14:13:37 +03:00
levlam
8e09a83506 Support custom emoji in MarkdownV2. 2022-07-18 23:40:57 +03:00
levlam
07b7faf66c Reduce run time of some tests. 2022-07-28 00:15:18 +03:00
levlam
c50e05db27 Add helper for td_api::chatAdministratorRights creation. 2022-07-04 18:38:34 +03:00
levlam
2472e13f7f Add internalLinkTypeBotStart.autostart. 2022-07-01 16:21:29 +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
da2e504566 Remove Promise operators. 2022-06-27 03:59:23 +03:00
levlam
513da45a8f Use free-standing function to create event promises. 2022-06-27 02:57:56 +03:00
levlam
ee926f86a3 Move directory creation and database check to another thread. 2022-06-21 02:02:48 +03:00
levlam
782aa6a2ec Minor fixes. 2022-06-14 16:11:38 +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
dfe067e52e Add supported chat types to internalLinkTypeAttachmentMenuBot. 2022-06-01 17:12:53 +03:00
levlam
677c5795a3 Cancel speech recognition by timeout. 2022-05-27 19:07:37 +03:00
levlam
2c44f8c273 Add internalLinkTypePremiumFeatures. 2022-05-23 20:37:15 +03:00
levlam
0909f88bc3 Use int53 for file size in TDLib API. 2022-05-11 17:17:20 +03:00
levlam
0a280c5b0d Support alternative form of invoice links. 2022-05-07 11:28:25 +03:00
levlam
464ef38806 Add internalLinkTypeInvoice. 2022-05-03 17:19:22 +03:00