kenorb-contrib / tg

`telegram-cli` for Telegram IM
https://github.com/telegramdesktop/tdesktop
GNU General Public License v2.0
382 stars 52 forks source link

.mp4 videos are not sent as .mp4 can anyone please help me #40

Open nishant-aka-nik opened 3 years ago

nishant-aka-nik commented 3 years ago

After uploading the .mp4 video file from the CLI the video is sent as a non playable .mp4 image

I want a playable video like below - image

Output message - ««« [video: type=video/ size=100x100 duration=100 size=164MiB] test.mp4

I believe the problem is "type=video/ " is sent as empty if it will be like "type=video/mp4" then it will be as playable video But I am not able to figure it out how to change this can anyone please help me. my side project will be completed if this will be solved