Nekmo / telegram-upload

Upload and download files from Telegram up to 4 GiB using your account
MIT License
1.07k stars 233 forks source link

Is it possible to send text message only? #127

Closed eriksonssilva closed 3 years ago

eriksonssilva commented 3 years ago

Description

Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.

What I Did

Everything works smoothly, except for the fact I cannot figure out if there's a way of sending a text message only. I have tried sending something using telegram-upload --caption "blabla" --to "https://t.me/joinchat/somethingHere". But nothing happens, no error, no nothing. However, if I upload a file, it will be uploaded and the caption "blabla" will be added... Is it possible to send a text only? Thanks in advance!

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
Nekmo commented 3 years ago

It is normal, Telegram-upload is created to upload and download files. Can you describe what you need?

eriksonssilva commented 3 years ago

Thanks a lot for the quick answer!

Well, I am writing a powershell script that will upload files, but before this, it'd send a message with a brief description. E.g.: Music Course Part 1 to 9 Timestamp: xxxx

something like that.

And then the telegram-upload would start uploading the files right after that.

That's basically it.

Thanks!

saptarshi-7 commented 2 years ago

@eriksonssilva did it have a solution or workaround? Can you kindly let me know how to do that? I would love to learn about the above example you mentioned! thanks a lot!!