Telegram with curl
so easy to send messages
- tags
- telegram
- bot
- curl
Contents
For getting messages in private chat with bot
- Create a bot using @BotFather, get it's token
- Start conversation with bot
- Run following curl command
|
|
Send a simple message
|
|
Send a photo
Get a file, say like this
|
|
And once you have a file, send it like this:
|
|
Send a document
|
|
Previously
Next