https://github.com/pxsty0/deneyap.telegram
Library Sending Message to Telegram You Can Use With Deneyap Kart and ESP32
https://github.com/pxsty0/deneyap.telegram
Last synced: over 1 year ago
JSON representation
Library Sending Message to Telegram You Can Use With Deneyap Kart and ESP32
- Host: GitHub
- URL: https://github.com/pxsty0/deneyap.telegram
- Owner: pxsty0
- License: mit
- Created: 2023-09-08T18:54:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T17:30:24.000Z (about 2 years ago)
- Last Synced: 2024-05-03T19:33:28.021Z (about 2 years ago)
- Language: C++
- Size: 24.4 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deneyap.telegram
## Telegram Library for ESP32 / Deneyap Cards
Örnek Kullanım / Example Usage
```cpp
#include
#include
DeneyapTelegram telegram;
#define WIFI_SSID "WIFI ADI"
#define WIFI_PASS "WIFI SİFRESİ"
void setup()
{
Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASS);
Serial.print("Wi-Fi Baglanıyor...");
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
}
Serial.println("Baglandi");
telegram.begin("TELEGRAM BOT TOKENİNİNZ"); // Telegram BOTFATHER ile alınacak
// telegram.kurulum("TELEGRAM BOT TOKENİNİNZ");
telegram.send("CHAT IDNİZ", "Merhaba !"); // Telegram GET MY ID bot üzerinden /start komutu ile alınacak
// telegram.gonder("CHAT IDNİZ", "Merhaba !"); // Kanal ID ve Mesaj
}
void loop()
{
}
```