Skip to content

Create Bot Telegram Use PHP Use cURL And Method getUpdates Following API Telegram.

Notifications You must be signed in to change notification settings

yhyasyrian/Telegram-Bot-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Telegram Bot PHP

  • طريقة تشغيل البوتات باستخدام ميثود getupdates
  • الطريقة تعمل على السيرفرات فقط 🙂

Commands Screen

  • تشغيل أي ملف بدون توقف من خلال السكرين 💯
screen -S NameScreen Run R

Example 🔰 :

screen -S Bot php ./bot.php R
  • السكرينات الموجودة بالسيرفر 👁‍🗨
screen -ls
  • حذف سكرين 🗑
screen -X -S NameScreen kill

Example 🔰 :

screen -X -S 10749.Bot kill

ملاحظه:
يجب ان يكون الاسم الموجود ضمن قائمة screen -ls وليس الذي تم وضعه عند إنشاء السكرين ✔️

Files Bot Notes

  • يجب عليك اتباع التعليمات التالية :
    استبدل exit(); ب retun false;
    قم بوضع جميع الفنشكنات خارج فنشكن run()
    لا تقم بعمل ويب هوك للتوكن حتى لا يتوقف 🙂
    قم برفع الملف في مسار /root وليس /var/www/html
    عند عمل اذاعة سيتم الإذاعة للكل لكن سيتوقف البوت حتى ينتهي الإذاعة 🗣️
  • يحيى السوري 💕

Chat on Telegram

About

Create Bot Telegram Use PHP Use cURL And Method getUpdates Following API Telegram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages