Commit Graph

104 Commits

Author SHA1 Message Date
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
levlam
d4b59bda87 Add internalLinkTypeRestorePurchases. 2022-07-25 12:06:32 +03:00
levlam
8e09a83506 Support custom emoji in MarkdownV2. 2022-07-18 23:40:57 +03:00
levlam
ad8693801f Fix another compilation error. 2022-07-23 12:15:54 +03:00
levlam
c6fc1bb98e Fix compilation error with old compilers. 2022-07-23 12:04:15 +03:00
levlam
02396be7eb Allow internal links in bio of non-premium users. 2022-07-16 16:10:06 +03:00
levlam
c3017916e0 Autostart links to Premium bot. 2022-07-01 16:31:15 +03:00
levlam
2472e13f7f Add internalLinkTypeBotStart.autostart. 2022-07-01 16:21:29 +03:00
levlam
1e417ea212 Minor fixes. 2022-06-02 16:19:16 +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
2c44f8c273 Add internalLinkTypePremiumFeatures. 2022-05-23 20:37:15 +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
levlam
e86b323de9 Fix warning. 2022-06-03 12:29:31 +03:00
levlam
bf0caca138 Simplify LinkManager::check_link usage. 2022-05-31 01:41:01 +03:00
levlam
da4282a6d9 Add optional administrator_rights to internalLinkTypeBotStartInGroup. 2022-04-16 05:30:23 +03:00
levlam
ff6f165551 Fix "attachment menu" spelling. 2022-04-14 22:56:27 +03:00
levlam
c3996b4726 Always adjust administrator rights for supergroups and channels. 2022-04-04 16:19:41 +03:00
levlam
fd00755bec Add internalLinkTypeBotAddToChannel. 2022-04-02 14:51:20 +03:00
levlam
7364334ebe Add internalLinkTypeAttachMenuBot. 2022-04-01 14:00:34 +03:00
levlam
ac8e856269 Allow only HTTPS links for web view. 2022-03-28 16:24:56 +03:00
alyral
a78245ee69
Add more Settings links (#1884) 2022-03-14 20:13:59 +03:00
levlam
867c95bdb2 Add td_api::internalLinkTypeUserPhoneNumber. 2022-02-18 18:56:58 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
fce20df018 Add support for sponsored chats with an invite link. 2021-12-30 14:15:04 +03:00
levlam
ac8ccaf970 Workaround clang 3.4 warning. 2021-12-28 01:47:34 +03:00
levlam
b7ec416a30 Fix handling of privatepost links. 2021-12-13 20:13:43 +03:00
levlam
2725f7c58a Move get_link_user_id to LinkManager. 2021-11-24 12:53:38 +03:00
levlam
b0eca77c9a Improve logging. 2021-11-08 17:11:35 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
81bfbecb18 Add internalLinkTypeUnsupportedProxy. 2021-10-28 21:46:34 +03:00