Skip to content

ESP8266 WhatsApp message, Telegram call, Telegram message, Telegram group message, Facebook messages

License

Notifications You must be signed in to change notification settings

hafidhh/Callmebot-ESP8266

Repository files navigation

CallMeBot ESP8266

arduino-library-badge PlatformIO Registry GitHub release License

🚀 Description

CallMeBot Library for ESP8266

🔥 Features

  • Whatsapp Message
  • Facebook Message
  • Telegram Call
  • Telegram Call Mp3 play
  • Telegram Message
  • Telegram Group Message

✨ Tested Device

  • NodeMCU ESP8266

💻 Usage

initialization

#include <Callmebot_ESP8266.h>

WhatsApps Massage

Send Whatapps message
To get apiKey follow the instruction on https://www.callmebot.com/blog/free-api-whatsapp-messages/
param :

  • phoneNumber : Indonesia +62, Example: "+62897461238"
  • apiKey : "apiKey".
  • message : "textmessage"
Callmebot.whatsappMessage("phoneNumber", "apiKey", "message");

Facebook Message

Send Facebook message
To get apiKey follow the instruction on https://www.callmebot.com/blog/free-api-facebook-messenger/
param :

  • apiKey : "apiKey"
  • message : "textmessage"
Callmebot.facebookMessage("apiKey", "message");

Telegram Call

You need to authorize CallMeBot to contact you using this link. Or alternatively, you can start the bot sending /start to @CallMeBot_txtbot.
param :

  • username : username/phone.
    username : @username, exmaple : "@rambo"
    phone : Indonesia +62, Example : "+62897461238"
  • message : "textmessage".
  • language : default = en-US-Neural2-J.
    if you want to change the voice, you can get voice name on https://cloud.google.com/text-to-speech/docs/voices
  • repeat : default = 2.
  • textcarbon : default "yes".
    yes: To always send a copy of the text message together with the call (default).
    no: To do not send a copy of the message as a Text Message.
    missed: To only send a Text Message if the call is missed or rejected.
    only: To only send a text message (only available on dedicated bots).
  • timeout : default = 30.
Callmebot.telegramCall("@username", "message");

Telegram Call Mp3

You need to authorize CallMeBot to contact you using this link. Or alternatively, you can start the bot sending /start to @CallMeBot_txtbot.
param :

Callmebot.telegramCall("@username", "mp3link");

Telegram Message

You need to authorize CallMeBot to contact you using this link. Or alternatively, you can start the bot sending /start to @CallMeBot_txtbot.
param :

  • username : username/phone.
    username : @username, exmaple : "@rambo"
    phone : Indonesia +62, Example : "+62897461238"
  • message : "textmessage"
Callmebot.telegramMessage("@username", "message");
String username = "@username1"+"|"+"@username2";
Callmebot.telegramMessage(username, "messsage");

Telegram Group Message

To get apiKey follow the instruction on https://www.callmebot.com/blog/telegram-group-messages-api-easy/
param :

  • apiKey : "apiKey".
  • message "textmessage".
  • html_format : bold text.
    default = false.
    true if you want bold text.
Callmebot.telegramGroup("apiKey", "message");

🛡️ License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Support

We all need support and motivation. Please give this project a ⭐️ to encourage and show that you liked it. Don't forget to leave a star ⭐️ before you move away.

If you found the project helpful, consider supporting us with a coffee.

✨ Link

CallMeBot