Skip to content

pxsty0/deneyap.telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deneyap.telegram

Telegram Library for ESP32 / Deneyap Cards

Örnek Kullanım / Example Usage

#include <WiFi.h>
#include <DeneyapTelegram.h>

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()
{
}

About

Telegram Library for ESP32 / Deneyap Cards

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages