Commit Graph

496 Commits

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