A
A
ANOmym2016-03-18 23:47:24
API
ANOmym, 2016-03-18 23:47:24

How to send file with bash script using telegram api?

How to send file with bash script using telegram api?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mr4x, 2016-03-19
@ANOmym

Use the standard sendDocument method

curl -F [email protected]/to/file https://api.telegram.org/bot<token>/sendDocument

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question