telegram-react icon indicating copy to clipboard operation
telegram-react copied to clipboard

[Fix] SafeLink and KeyboardButton (open Telegram url into React App)

Open web-telegram opened this issue 4 years ago • 3 comments

https://user-images.githubusercontent.com/75183832/104067575-7161f200-5214-11eb-84ca-9cb18c1b0567.mov

Only one Telegram link opens correctly @DurovsChat (mentionlink) Others Telegram link is open at target _blank.

TODO view please KeyboardButton.js (work, but need refactoring, import with SafeLink)

web-telegram avatar Jan 08 '21 22:01 web-telegram

In last commit fixed msg link in SafeLink.js and KeyboardButton.js https://t.me/durovschat/527134 https://t.me/durovschat/527134/

https://user-images.githubusercontent.com/75183832/104318239-2e439f80-54f0-11eb-8c05-532ddd6f4f67.mov

web-telegram avatar Jan 12 '21 13:01 web-telegram

I'm working on it, as I would like this feature as well: https://github.com/milkknife/dino/tree/copy-image-url

1661412816_grim

The menu item has been added, and getting/setting clipboard data works. All that is left is connecting the message content or URL to the clipboard.

ghost avatar Jan 12 '21 22:01 ghost

In last commit fixed msg link in SafeLink.js and KeyboardButton.js https://t.me/durovschat/527134 https://t.me/durovschat/527134/

safelink2.mov

still if it is just https://t.me/durovschat without message id, it doesn't open the link in The Telegram React Also, t.me, invite links to private channels and groups doesn't open inside Telegram React, and open another webpage to open the link inside old Telegram Web

AhyaH-YHWH avatar Feb 10 '21 10:02 AhyaH-YHWH