Commit Graph

175 Commits

Author SHA1 Message Date
levlam
e063a7349d Support TON sites in getExternalLinkInfo. 2024-07-23 13:01:39 +03:00
levlam
5c771778df Fix internalLinkTypeMainWebApp. 2024-07-22 18:19:04 +03:00
levlam
853301ff1c Add td_api::internalLinkTypeMainWebApp. 2024-07-19 16:43:35 +03:00
levlam
d26e0fab57 Support tonsite protocol. 2024-07-17 08:36:56 +03:00
levlam
3a528d46c8 Support chat links that open chat's profile. 2024-07-16 17:59:27 +03:00
levlam
c9a92f64d6 Pass UserManager to get_text_entity_object. 2024-07-21 12:33:02 +03:00
levlam
0f984b24c7 Add internalLinkTypeSideMenuBot.is_compact. 2024-06-29 23:47:33 +03:00
levlam
aa26c117ee Add internalLinkTypeWebApp.is_compact. 2024-06-29 22:35:45 +03:00
levlam
97baf4bda5 Support phone numbers in international format in internal links. 2024-05-23 07:46:08 +03:00
levlam
b1044c9348 Don't check received from server strings for emptiness. 2024-05-04 23:12:26 +03:00
levlam
e08cf00efb Remove unused get_formatted_text parameters. 2024-04-23 20:04:38 +03:00
levlam
8e2713ca93 Use get_formatted_text. 2024-04-23 19:43:12 +03:00
levlam
01e30e5263 Various fixes. 2024-04-21 02:24:11 +03:00
levlam
1bb4a2007b Add td_api::internalLinkTypeBusinessChat. 2024-04-12 01:01:26 +03:00
levlam
ecea209a6b Support draft_text in private chat links. 2024-04-09 01:54:55 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
a2c6f4aa7c Move resolved usernames to DialogManager. 2024-01-07 23:45:33 +03:00
levlam
b2fccc7d9c Move ContactsManager proxy methods to DialogManager. 2024-01-03 23:07:50 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
4a45265926 Add td_api::internalLinkTypePremiumGift. 2023-12-26 21:01:33 +03:00
levlam
93aa765f44 Add td_api::backgroundTypeChatTheme for boosted chats. 2023-12-19 16:00:50 +03:00
levlam
08222894e9 Check link types in alphabetical order. 2023-12-16 23:45:45 +03:00
levlam
b4609e910a Add td_api::internalLinkTypePremiumGiftCode. 2023-09-29 16:44:59 +03:00
levlam
1c588eda01 Minor improvements. 2023-10-15 01:20:09 +03:00
levlam
4eb9020d53 Use FlatHashSet for disallowed subdomains. 2023-10-07 11:46:47 +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
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
469be958f2 Add td_api::getChatBoostLinkInfo. 2023-09-15 19:07:18 +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
a7d9da0229 Add internalLinkTypeSideMenuBot. 2023-09-07 19:23:07 +03:00
levlam
53888437cf Don't restrict client-side length of start parameter. 2023-08-13 23:06:21 +03:00
levlam
d3e0372b14 Use Chat as owner of stories in td_api. 2023-06-27 21:51:36 +03:00
levlam
10c44c0cbf Support shorter story links. 2023-06-22 20:42:48 +03:00
levlam
f57ab79f67 Add td_api::internalLinkTypeStory. 2023-06-05 17:56:16 +03:00
levlam
868d894779 Don't autostart blocked bots. 2023-04-24 16:03:08 +03:00
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