Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.43 KB

File metadata and controls

36 lines (25 loc) · 1.43 KB

PHP-TeleAPI

PHP TeleAPI adalah sebuah class PHP yang dapat memudahkan anda dalam membuat bot telegram

Untuk informasi lengkap tentang API Telegram, silahkan Klik Tulisan Ini.

Instalasi

Untuk dapat menggunakan fungsi ini, pertama-tama upload script TeleAPI dan TeleHook ke web anda dan buat bot telegram melalui BotFather Telegram lalu copy Token-nya dan paste-kan pada script TeleAPI.

$TeleAPI = new TeleAPI('BOT TOKEN ANDA');

Pemasangan Webhook

Untuk mengatur webhook, anda hanya perlu mengakses url seperti dibawah ini:

https://api.telegram.org/bot(TOKEN)/setWebhook?url=https://example.com/TeleHook.php&max_connections=80

atau anda juga bisa memanggil function setWebhook seperti dibawah ini:

$TeleAPI->setWebhook('https://example.com/TeleHook.php');

Authors

  • Afdhalul Ichsan Yourdan - Initial work - ShennBoku
  • Dhifo Aksa Hermawan - Team Support - Dhifo
  • Safalian Novandika - Team Support - Safa
  • Saiful Rahman - Team Support - Saiful

License

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