diff options
| author | levlam <levlam@telegram.org> | 2026-01-19 17:36:13 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2026-01-19 17:36:13 +0300 |
| commit | 458d3d20b0b326d70be71a72e323b6dd1832bc44 (patch) | |
| tree | d29f237b3434d34065888b33ff62d7fbcd4e3493 /test | |
| parent | 832cabe1455d87401b436f7e1a4bb018c728787b (diff) | |
Add td_api::internalLinkTypeChatSelection.
Diffstat (limited to 'test')
| -rw-r--r-- | test/link.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/link.cpp b/test/link.cpp index 7e2e8048a..f4420c3ee 100644 --- a/test/link.cpp +++ b/test/link.cpp @@ -345,6 +345,10 @@ static auto chat_invite(const td::string &hash) { return td::td_api::make_object<td::td_api::internalLinkTypeChatInvite>("tg:join?invite=" + hash); } +static auto chat_selection() { + return td::td_api::make_object<td::td_api::internalLinkTypeChatSelection>(); +} + static auto contacts(const td::string §ion) { return td::td_api::make_object<td::td_api::internalLinkTypeContacts>(section); } @@ -996,7 +1000,8 @@ TEST(Link, parse_internal_link_part2) { parse_internal_link("tg://settings/my-profile/posts/add-album", my_profile("posts/add-album")); parse_internal_link("tg://settings/my-profile/archived-posts", my_profile("archived-posts")); - parse_internal_link("tg://chat/search/", search()); + parse_internal_link("tg://chats/search/", search()); + parse_internal_link("tg://chats/edit", chat_selection()); parse_internal_link("tg://contacts", contacts("")); parse_internal_link("tg://contacts/asdasd", contacts("")); |
