Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hafidhh/callmebot-esp8266

ESP8266 WhatsApp message, Telegram call, Telegram message, Telegram group message, Facebook messages
https://github.com/hafidhh/callmebot-esp8266

arduino arduino-libraries arduino-library callmebot esp8266 facebook-bot telegram telegram-bot whatsapp-bot

Last synced: about 20 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# CallMeBot ESP8266
[![arduino-library-badge](https://www.ardu-badge.com/badge/Callmebot%20ESP8266.svg?)](https://www.ardu-badge.com/Callmebot%20ESP8266)
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/hafidh/library/Callmebot%20ESP8266.svg)](https://registry.platformio.org/libraries/hafidh/Callmebot%20ESP8266)
[![GitHub release](https://img.shields.io/github/release/hafidhh/Callmebot-ESP8266.svg?)](https://github.com/hafidhh/Callmebot-ESP8266/releases)
[![License](https://img.shields.io/github/license/hafidhh/Callmebot-ESP8266.svg?)](https://github.com/hafidhh/Callmebot-ESP8266/blob/master/LICENSE.md)

## 🚀 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
```cpp
#include
```
### 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"
```cpp
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"
```cpp
Callmebot.facebookMessage("apiKey", "message");
```

### Telegram Call
You need to authorize CallMeBot to contact you using this [link](https://api2.callmebot.com/txt/login.php). 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.
```cpp
Callmebot.telegramCall("@username", "message");
```

### Telegram Call Mp3
You need to authorize CallMeBot to contact you using this [link](https://api2.callmebot.com/txt/login.php). 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"
* mp3link : mp3 file link. Example : "https://www.learningcontainer.com/wp-content/uploads/2020/02/Kalimba.mp3"
```cpp
Callmebot.telegramCall("@username", "mp3link");
```

### Telegram Message
You need to authorize CallMeBot to contact you using this [link](https://api2.callmebot.com/txt/login.php). 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"
```cpp
Callmebot.telegramMessage("@username", "message");
```
```cpp
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.
```cpp
Callmebot.telegramGroup("apiKey", "message");
```

## 🛡️ License
This project is licensed under the MIT License - see the [`LICENSE`](LICENSE.md) 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