CallMeBot can now send Text Messages! As expected, it is super easy to use the Web API and integrate it in all your scripts, automations, devices, IoT, etc. You don't need to create Telegram Bots or getting chatID just call to this simple API.
Simply, call to this API URL:
[username]: Is the Telegram recipient of the message (ei: @myusername). Important!: You need to authorize CallMeBot to contact you using this link. Or alternatively, you can start the bot sending /start to @CallMeBot_txtbot.
This is required to avoid Spam. You can send the same message to multiple recipients with the same web API request. Just separate the users with the "|" character. Please note that all users needs to go through the authorization process. If you want to send messages to Telegram Groups, plese use this API.
[text]: Message to send (urlencoded). You can use this online converter to encode the url. Check here how to include emoticons in the message 👍.
[html_format]: yes/no - Default: no - Optional parameter to send the message in html format or plain text. Put "yes" when you want to send "bold" text using test (url example: &html=yes)
[link_preview]: yes/no - Default: no - It will enable or disable the webpage preview that is sent together with the text message when there is an URL on it.
#for one recipient:
#for multiple recipients:
If you have problems, like not receiving the Call on Telegram, or not receiving the WhatsApp messages, try to test the CallMeBot API using your Web Browser:
- Telegram Phone Calls using Web Browser: here
- Telegram Text Messages using Web Browsers: here
- WhatsApp Text Messages using Web Browser: here
You might get some errors on the screen that will help you to identify the problem. (Ex: Calls disabled in the Telegram Security Settings, WhatsApp not activated, etc.)
If you still have problems using the API, don’t hesitate to contact me in Telegram @callmebot_com or by email at [email protected] Remember to Follow me on Twitter to get news about coming features, changes, invitations, etc.