CallMeBot can now send Text Messages! As expected, it is super easy to use the API and integrate it in all your scripts, automations, devices, IoT, etc. You don't need to create Telegram Bots or geting chatID just call to the 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 here. This is required to avoid Spam. You can send the same message to multiple recipients with the same API call. Just separate the users with the "|" character. Please not that all users needs to go through the authorization process (each user to click here). 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.
[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)
#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 to use this API, don’t hesitate to contact me in Telegram @callmebot_com or by email at firstname.lastname@example.org. Rember to Follow me on Twitter to get news about coming features, changes, invitations, etc.