Hello,
How I can share a file with Telegram UWP using the command line?
I can share a file with Telegram Win32 easily using below command:
%Appdata%\Telegram Desktop\Telegram.exe -sendpath "C:\1.mp4"
But I can't share a file with Telegram UWP.
explorer shell:AppsFolder\TelegramMessengerLLP.TelegramDesktop_t4vj0pshhgkwm!Telegram.TelegramDesktop.Store -sendpath "C:\1.mp4"
%LocalAppData%\Microsoft\WindowsApps\Telegram.exe -sendpath "C:\1.mp4"
md5-cf6235779fa6f8d397a05ecd411bd508
tg://msg_url?sendpath="C:\1.mp4"
md5-cf6235779fa6f8d397a05ecd411bd508
tg://send?path="C:\1.mp4"
Please help me before closing this issue.
Thanks
i don't think such thing is doable.
If Telegram UWP create below file, I can start telegram with parameters:
%LocalAppData%\Microsoft\WindowsApps\Telegram.exe
For example, you can run Windows Terminal with parameters:
%LocalAppData%\Microsoft\WindowsApps\wt.exe -d C:\
I need this feature:
%LocalAppData%\Microsoft\WindowsApps\Telegram.exe -sendpath "C:\1.mp4"
i don't think such thing is doable.
+1, I think that UWP sandbox doesn't allow to pass arguments