Commit Graph

506 Commits

Author SHA1 Message Date
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