Commit Graph

138 Commits

Author SHA1 Message Date
levlam
b4d6b68195 Replace dark_theme_brightness with dark_theme_dimming. 2023-04-12 00:59:53 +03:00
levlam
0ce6dc6834 Allow nullptr in BackgroundType::get_background_type. 2023-04-10 20:53:45 +03:00
levlam
00ed2f85b8 Support dark_theme_brightness for chat backgrounds. 2023-04-10 18:45:26 +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
6e139200eb Use get_dialog_invite_link/get_dialog_filter_invite_link to generate the links. 2023-03-30 21:25:25 +03:00
levlam
5e14afc9dd Remove superflous checks before calls to get_url_query_hash/slug. 2023-03-30 21:16:03 +03:00
levlam
ced48b910f Remove superflous emptiness checks in get_url_query_hash/slug. 2023-03-30 21:12:54 +03:00
levlam
02a2e23cac Add td_api::internalLinkTypeChatFilterInvite. 2023-03-30 21:11:15 +03:00
levlam
0168d47a8a Add a.t.me Telegram domain. 2023-03-20 16:29:45 +03:00
levlam
8847638d28 Autostart bots with non-empty message history. 2023-03-11 23:18:24 +03:00
levlam
c983eb6eab Fix warning. 2023-03-05 13:12:30 +03:00
levlam
dff135fa6c Allow truncated links in updates and event log. 2023-03-03 04:23:46 +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
235d68e587 Add LinkManager::get_proxy_link. 2023-03-02 02:41:22 +03:00
levlam
319a3f1c39 Add and use LinkManager::get_t_me_url(). 2023-03-01 23:49:22 +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
7b07de64e7 Improve field name. 2023-02-23 19:00:12 +03:00
levlam
d8b062b21f Add td_api::internalLinkTypeWebApp. 2023-02-23 18:07:33 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
3fef62a396 Reuse default_result. 2023-02-17 16:06:38 +03:00
levlam
23b345f87c Improve LinkManager::get_external_link_info. 2023-01-28 03:41:17 +03:00
levlam
c4568db488 Add more t.me domains for web clients. 2023-01-23 17:43:15 +03:00
levlam
8f3606fb2c Add more service t.me subdomains. 2023-01-23 17:28:39 +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
02ff843bbb Add internalLinkTypeUserToken. 2022-12-01 17:42:57 +03:00
levlam
b340e559bb Add td_api::getUserLink. 2022-12-01 15:08:13 +03:00
levlam
54799d0024 Support forum message links in getInternalLinkType. 2022-11-04 14:56:25 +03:00
levlam
939d43129c Support message links for forum topics. 2022-11-04 14:40:57 +03:00
levlam
ac144ce2e4 Support whitelisted domains. 2022-10-27 00:57:28 +03:00
levlam
6a16492266 Support can_manage_topics administrator right and chat permission. 2022-10-23 13:20:53 +03:00
levlam
eecec61fa9 Move get_background_url to LinkManager. 2022-10-18 22:52:47 +03:00
levlam
c1a3fa633f Move is_valid_username to misc.h. 2022-10-12 16:09:42 +03:00
levlam
aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam
b3e16c5dd7 Use the same template recursively for instant view links. 2022-09-26 19:24:39 +03:00
levlam
bc3ea3e123 Add fallback_url to internalLinkTypeInstantView. 2022-09-26 01:48:06 +03:00
levlam
aeed5107b7 Fix Slice lifetime. 2022-09-16 13:56:56 +03:00
levlam
b76a920db8 Open Telegraph links in instant view. 2022-09-16 13:51:52 +03:00
levlam
47d4101def Add enum LinkType. 2022-09-16 13:20:19 +03:00
levlam
0025c4164b Add internalLinkTypeInstantView. 2022-09-16 01:30:54 +03:00
levlam
e595730735 Support t.me subdomains. 2022-09-02 16:34:05 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
e3ae8957bb Support addemoji links. 2022-07-27 19:58:58 +03:00