mohammad-soltani/php-bale-bot

A PHP library for working with Bale messenger bot.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mohammad-soltani/php-bale-bot

v1.0.2 2025-02-07 13:42 UTC

This package is auto-updated.

Last update: 2025-12-07 15:17:34 UTC


README

The BaleBot PHP Client is a versatile and easy-to-use library designed to interact with the Bale Bot API. It facilitates sending and receiving messages, handling file uploads, and managing bot updates. Whether you're building a Telegram bot or integrating Bale AI capabilities, this client has got you covered!

Download From Composer

 composer require mohammad-soltani/php-bale-bot

Example

<?php
require_once __DIR__ . '/vendor/autoload.php'; 
use MohammadSoltani\BaleBot\BaleBot;
$bot = new BaleBot("YOUR_BOT_TOKEN");

while(true){
    $update = $bot -> live_stream(0.1 , true);
    if($update){
        $bot -> send_message($update , $update["data"]);
    }
}
?>

Created By

  • mohammad mohammad soltani