🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.

Overview

Telegram Bot API PHP SDK

Join PHP Chat Chat on Telegram Build Status Latest Version Total Downloads

Telegram Bot API - PHP SDK

Telegram Bot PHP SDK lets you develop Telegram Bots in PHP easily! Supports Laravel out of the box.

Telegram Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.

To learn more about the Telegram Bot API, please consult the Introduction to Bots and Bot FAQ on official Telegram site.

To get started writing your bots using this SDK, Please refer the documentation.

Documentation

Documentation for the SDK can be found on the website.

Are You Using Telegram Bot SDK?

If you're using this SDK to build your Telegram Bots or have a project that's relevant to this SDK, We'd love to know and share it with the world.

Head over to Awesome Telegram Bots to share, discover, and learn more.

Additional information

Any issues, feedback, suggestions or questions please use issue tracker here.

Contributing

Thank you for considering contributing to the project. Please review the CONTRIBUTING guidelines before submitting any pull requests.

Credits

Thanks

Thanks to these companies for providing access to their products that have been very useful in developing this SDK. Please go check them out!

JetBrains 1Password

Disclaimer

This project and its author is neither associated, nor affiliated with Telegram in anyway. See License section for more details.

License

This project is released under the BSD 3-Clause License.

Comments
  • Add the ability to send markdown messages

    Add the ability to send markdown messages

    Telegram has added an option to send markdown formatted messages passing Markdown as parse_mode when sending a message, as seen here. I couldn't seem to find how to use this option.

    opened by filipekiss 43
  • send automatic message for all user and group with telegram bot

    send automatic message for all user and group with telegram bot

    i want put a part in my bot that when user want from my bot send new data automatic (with link or command for active this) when i put a new record in my table of database my bot send this new record in message for all user that want give this data automatic it is my work that i will do it and now my question is: telegram bot has function or part for manage this work or i should get user_id when active this part and save id in the table and when i create new record i send new message for all user that i save the id in the table and do this work with programming?

    opened by lalehshariat 38
  • [Todo] Add Commands Handler System

    [Todo] Add Commands Handler System

    A system to handle and process commands automatically. Maybe like Laravel's command bus.

    So when a new message arrives through a webhook or when manually getting updates, Make it easy to process such messages if they're commands.

    enhancement 
    opened by irazasyed 19
  • I am using v2.2.0 of the package and cant run any command

    I am using v2.2.0 of the package and cant run any command

    I am using v2.2.0 of this brilliant package and I am wondering how to fire a command by user!! I used this way for creating a command for my bot: at first I added bellow line to telegram.php App\Http\Controllers\StartCommand::class then I created StartCommand.php at App\Http\Controllers folder as the documentation example StartCommand.php then I started webhook and it gaved me {"ok":true,"result":true,"description":"Webhook is already set"}

    afterall I used this route for commandhandler and disabled csrf token too: Route::post('/test/webhook', function () { $update = Telegram::commandsHandler(true); return 'salam in revale'; }); the route can be reached by this address and its ok. but in my bot @yamatabot the /start command doesn not work yet. what step is wrong for me?

    opened by marn65 18
  • Determine preferred language of Telegram device that sends message to bot

    Determine preferred language of Telegram device that sends message to bot

    Is there a way to find out what language the user has set as preferred language? Both on my Android device and Mac laptop the application allows a user to set a language.

    For example:

    screen shot 2016-12-03 at 21 56 17

    In order to have a bot respond in the 'proper' language, it would be nice to be aware of this preference.

    Could not find anything on the Telegram Bot API page, so it might not even be supported?

    opened by holtkamp 18
  • Problem in setting up web hook at Telegram

    Problem in setting up web hook at Telegram

    I've designed a robot for Telegram. After setting up web hook and sending messages to this robot, the robot response me as repetitious, as if the response of robot is on loop. My code is simple, but I don’t know why telegram sends duplicate massages for my web hook.

    opened by HamoonDBA 18
  • TokenMismatchException with telegram requests

    TokenMismatchException with telegram requests

    I have a problem with laravel. the webhook is set but whenever a request is sent to my webhook I just want to log that it's working with "Log::info('webhook is working!');" but I get this error : "Illuminate\Session\TokenMismatchException" I tried to solve it by adding the route exceptions in protected $except in this file: app/Http/Middleware/VerifyCsrfToken.php but I'm still getting the error :( can you help me please?

    <?php namespace App\Http\Controllers;
    
    use App\Http\Requests;
    use App\Http\Controllers\Controller;
    
    use Illuminate\Http\Request;
    use Illuminate\Support\Facades\Log;
    
    class ForumController extends Controller {
    
        /**
         * Display a listing of the resource.
         *
         * @return Response
         */
        public function index()
        {
            Log::info('webhook is working22!');
            /*$updates = Telegram::getWebhookUpdates();
            foreach ($updates as $update) {
                Log::info('webhook is working00!');
                //$response = $telegram->sendMessage('CHAT_ID', 'Hello World');
    
            }*/
        }
    
        /**
         * Show the form for creating a new resource.
         *
         * @return Response
         */
        public function create()
        {
            //
        }
    
        /**
         * Store a newly created resource in storage.
         *
         * @return Response
         */
        public function store()
        {
            //
        }
    
        /**
         * Display the specified resource.
         *
         * @param  int  $id
         * @return Response
         */
        public function show($id)
        {
            //
        }
    
        /**
         * Show the form for editing the specified resource.
         *
         * @param  int  $id
         * @return Response
         */
        public function edit($id)
        {
            //
        }
    
        /**
         * Update the specified resource in storage.
         *
         * @param  int  $id
         * @return Response
         */
        public function update($id)
        {
            //
        }
    
        /**
         * Remove the specified resource from storage.
         *
         * @param  int  $id
         * @return Response
         */
        public function destroy($id)
        {
            //
        }
    
    }
    
    // app/Http/Middleware/VerifyCsrfToken.php
    
    <?php namespace App\Http\Middleware;
    
    use Closure;
    use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
    
    class VerifyCsrfToken extends BaseVerifier {
        protected $except = [
            'forum/*',
        ];
    
        /**
         * Handle an incoming request.
         *
         * @param  \Illuminate\Http\Request  $request
         * @param  \Closure  $next
         * @return mixed
         */
        public function handle($request, Closure $next)
        {
            return parent::handle($request, $next);
        }
    
    }
    
    opened by mobasher92 17
  • [WIP] Add Conversational System

    [WIP] Add Conversational System

    I have plans to create a system with which, we can build a Q/A kinda interactive bots easily.

    Since the commands system is not designed to handle this nor it was intended to do that, A separate functionality makes sense.

    The only part that's quite complex is to track the answers/responses and to map it to the right question and then move to next in a queue.

    Any inputs would be good.

    enhancement In-Progress 
    opened by irazasyed 16
  • One time keyboard may not be working correctly.

    One time keyboard may not be working correctly.

    Hi there,

    This package is just fantastic. I have it working really well at the moment. Just noticed one thing that I'm not sure is actually broken but I'll run it past you.

    The official docs state:

    github

    So in my mind, you should receive a message, when you go to reply, the custom keyboard appears and you can select your option but then the keyboard is GONE and doesn't come back.

    When I try this code:

        $keyboard = [
            ['Yes', 'No', 'Maybe'],
            ["I'm Not Sure", 'Can You'],
            ['Repeat the question?']
        ];
    
    $response = Telegram::sendMessage('<myid>', 'Hello!', false, null, Telegram::replyKeyboardMarkup($keyboard, true, true, false));
    

    I get my message perfectly and the custom keyboard pops up:

    2015-07-18 16 00 18

    However when I press my reply, the custom keyboard icon doesn't disappear:

    2015-07-18 16 00 26

    Pressing on this icon brings up the custom keyboard all the time.

    The only way to remove the custom keyboard is to send a new message with

        $response = Telegram::sendMessage('<myid>', 'Just removing the keyboard', false, null, Telegram::replyKeyboardHide());
    

    Now instantly it disappears:

    2015-07-18 16 00 58

    Is this intentional or is there a bug with how the one-time-keyboard should work?

    opened by jonnywilliamson 16
  • seting webhooks

    seting webhooks

    hi can someone give me a sample webhook laravel project, like this: https://irazasyed.github.io/telegram-bot-sdk/usage/webhook-updates/ i will appreciate that

    opened by moeinrahimi 15
  • Async Requests not working

    Async Requests not working

    Hi, I was trying to use asynchronous requests using the following setup:

    -Windows 7 64 Bit -PHP 5.6.3 (32 Bit) -Telegram Bot SDK 0.2.4 -Guzzle 6.0.2

    Plain sending messages using this

    $telegram->setAsyncRequest(true)
        ->sendMessage($message->get('chat')->get('id'), 'Test');
    

    does not work although requests without async do work. I don't know if this is Windows related. There is no error message nor exception, there is just nothing being sent to the Telegram server.

    With best regards,

    Stefan Hueg

    opened by codengine 15
  • Bump aglipanci/laravel-pint-action from 1.0.0 to 2.1.0

    Bump aglipanci/laravel-pint-action from 1.0.0 to 2.1.0

    Bumps aglipanci/laravel-pint-action from 1.0.0 to 2.1.0.

    Release notes

    Sourced from aglipanci/laravel-pint-action's releases.

    v2.1.0

    Fixing aglipanci/laravel-pint-action#1.

    v2.0.0

    Adding the ability to specify the Pint version on the configuration file.

    Commits
    • 5c0b1f6 Fixing the case of setting the testmode to false.
    • 180ac90 Update README.md
    • 07f4f96 Updating README.md
    • c4b9ef6 Merge pull request #3 from aglipanci/version-based-pint
    • 203c2fe Update entrypoint.sh
    • 9258dcb Update entrypoint.sh
    • 18945b8 adding pint version to actions.yml
    • f8d8a4f dynamic pint version
    • 14b329e removing pint installation from the docker file
    • 17f4cb9 moving pint package installation to the entrypoint
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • Support Web App

    Support Web App

    Are you going to do support Telegram Web App in your library? Telegram implemented Web App in April of this year.

    https://core.telegram.org/bots/api-changelog#april-16-2022

    opened by nozzy177 0
  • Command from different bots are merged

    Command from different bots are merged

    • irazasyed/telegram-bot-sdk version: 3.9
    • PHP Version: 7.4.20
    • Laravel Version: #.#.# (optional)

    Description:

    telegram.php 'bots' => [ 'supportBot' => [ 'username' => 'bot1_bot', 'token' => 'api1', 'commands' => [ App\TelegramCommands\ECommand::class, App\TelegramCommands\MeteoCommand::class ], ], 'testBot' => [ 'username' => 'bot2_bot', 'token' => 'api2', 'commands' => [ App\TelegramCommands\StartCommand::class, App\TelegramCommands\HelpCommand::class, ], ], ] ....

    Telegram::bot('testBot')->getCommands() retrun all 4 commands Telegram::bot('supportBot')->getCommands() retrun all 4 commands

    written a command in a telegram (in any of the two), I still get into the class.

    Stacktrace:

    Steps To Reproduce:

    opened by lebalex 1
  • Bump actions/checkout from 2 to 3

    Bump actions/checkout from 2 to 3

    Bumps actions/checkout from 2 to 3.

    Release notes

    Sourced from actions/checkout's releases.

    v3.0.0

    • Updated to the node16 runtime by default
      • This requires a minimum Actions Runner version of v2.285.0 to run, which is by default available in GHES 3.4 or later.

    v2.5.0

    What's Changed

    Full Changelog: https://github.com/actions/checkout/compare/v2...v2.5.0

    v2.4.2

    What's Changed

    Full Changelog: https://github.com/actions/checkout/compare/v2...v2.4.2

    v2.4.1

    • Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory

    v2.4.0

    • Convert SSH URLs like org-<ORG_ID>@github.com: to https://github.com/ - pr

    v2.3.5

    Update dependencies

    v2.3.4

    v2.3.3

    v2.3.2

    Add Third Party License Information to Dist Files

    v2.3.1

    Fix default branch resolution for .wiki and when using SSH

    v2.3.0

    Fallback to the default branch

    v2.2.0

    Fetch all history for all tags and branches when fetch-depth=0

    v2.1.1

    Changes to support GHES (here and here)

    ... (truncated)

    Changelog

    Sourced from actions/checkout's changelog.

    Changelog

    v3.1.0

    v3.0.2

    v3.0.1

    v3.0.0

    v2.3.1

    v2.3.0

    v2.2.0

    v2.1.1

    • Changes to support GHES (here and here)

    v2.1.0

    v2.0.0

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • Bump symfonycorp/security-checker-action from 4 to 5

    Bump symfonycorp/security-checker-action from 4 to 5

    Bumps symfonycorp/security-checker-action from 4 to 5.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
Releases(v3.9)
  • v3.9(Aug 2, 2022)

    What's Changed

    • Fix Update::getChat() for cases when a User banned and/or unbanned a bot by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/977
    • Fix return type error on method findType by @MaizerGomes in https://github.com/irazasyed/telegram-bot-sdk/pull/985
    • FIX: Set correct Api/Bot instance when add/init Commands by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/984
    • Add GitHub issue template for bug reports by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/981
    • Drop username config key used by WebhookCommand only by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/979
    • Make TelegramServiceProvider really deferrable by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/978
    • Add missing @param and @return types to PHPDoc blocks by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/983
    • createChatInvitelink returns array and solves the create link issue by @arifjawad in https://github.com/irazasyed/telegram-bot-sdk/pull/986

    New Contributors

    • @MaizerGomes made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/985
    • @arifjawad made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/986

    Full Changelog: https://github.com/irazasyed/telegram-bot-sdk/compare/v3.8...v3.9

    Source code(tar.gz)
    Source code(zip)
  • v3.8(Jul 9, 2022)

    What's Changed

    • Fix package to work on PHP 7.3 by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/969
    • Fix CI: do not use guzzle versions with know vulnerabilities by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/970
    • Improve PHPDoc (for Telegram + add more deprecations to methods removed in SDK v4) by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/972
    • Add php-cs-fixer to CI to use the same style as for SDK v4 by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/973
    • Cleanup php cs fixer config: remove cache from repository by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/976
    • Remove invalid imports by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/975

    Full Changelog: https://github.com/irazasyed/telegram-bot-sdk/compare/v3.7...v3.8

    Source code(tar.gz)
    Source code(zip)
  • v3.7(Jul 7, 2022)

    What's Changed

    • Fix PHPDoc: mark optional properties as nullables by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/963
    • Add missing types by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/961
    • Fix one-to-many relations by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/964
    • Drop PHP 7.2 support and update phpunit by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/966
    • Backport some v4 features by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/965
    • Fix type issue parsing "entities" by @lptn in https://github.com/irazasyed/telegram-bot-sdk/pull/967

    New Contributors

    • @lptn made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/963

    Full Changelog: https://github.com/irazasyed/telegram-bot-sdk/compare/v3.6...v3.7

    Source code(tar.gz)
    Source code(zip)
  • v3.6(Mar 30, 2022)

    What's Changed

    • Added PHPDoc templates for Keyboard classes by @Kravets1996 in https://github.com/irazasyed/telegram-bot-sdk/pull/928
    • add copyMessage by @mrjavadseydi in https://github.com/irazasyed/telegram-bot-sdk/pull/927
    • Added missing message type: video_note by @andrey-helldar in https://github.com/irazasyed/telegram-bot-sdk/pull/930
    • Fix is not valid header value by @andrey-helldar in https://github.com/irazasyed/telegram-bot-sdk/pull/934
    • Added missing message types by @andrey-helldar in https://github.com/irazasyed/telegram-bot-sdk/pull/932

    New Contributors

    • @Kravets1996 made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/928
    • @mrjavadseydi made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/927
    • @andrey-helldar made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/930

    Full Changelog: https://github.com/irazasyed/telegram-bot-sdk/compare/v3.5...v3.6

    Source code(tar.gz)
    Source code(zip)
  • v3.5(Feb 10, 2022)

    What's Changed

    • Laravel 9 Support.
    • Fixed: method ReflectionParameter::getClass() is deprecated, PHP8 by @semsphy in https://github.com/irazasyed/telegram-bot-sdk/pull/854
    • Upgrade to GitHub-native Dependabot by @dependabot-preview in https://github.com/irazasyed/telegram-bot-sdk/pull/859
    • Fixed arrow sign by @semsphy in https://github.com/irazasyed/telegram-bot-sdk/pull/870
    • Handle all possible Guzzle request exceptions by @b1rdex in https://github.com/irazasyed/telegram-bot-sdk/pull/879
    • Fix namespace case by @netesin in https://github.com/irazasyed/telegram-bot-sdk/pull/892
    • Fixed conflict command aliases by @korkoshko in https://github.com/irazasyed/telegram-bot-sdk/pull/885
    • Fix: Aliased command not received arguments by @arispati in https://github.com/irazasyed/telegram-bot-sdk/pull/857
    • Anonymous Admins by @alexmorbo in https://github.com/irazasyed/telegram-bot-sdk/pull/832
    • Fix an error in validateInputFileField by @mihard in https://github.com/irazasyed/telegram-bot-sdk/pull/829
    • Add support for RequestInterface for webhooks by @mattiabasone in https://github.com/irazasyed/telegram-bot-sdk/pull/908
    • Psr7 v2 support by @DoctorLines in https://github.com/irazasyed/telegram-bot-sdk/pull/907

    New Contributors

    • @semsphy made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/854
    • @b1rdex made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/879
    • @netesin made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/892
    • @korkoshko made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/885
    • @arispati made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/857
    • @alexmorbo made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/832
    • @mihard made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/829
    • @mattiabasone made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/908
    • @DoctorLines made their first contribution in https://github.com/irazasyed/telegram-bot-sdk/pull/907

    Full Changelog: https://github.com/irazasyed/telegram-bot-sdk/compare/v3.4.1...v3.5

    Source code(tar.gz)
    Source code(zip)
  • v3.4.1(Dec 10, 2020)

  • v3.4.0(Dec 5, 2020)

  • v3.3.0(Sep 10, 2020)

  • v3.2.0(Sep 8, 2020)

  • v3.1.0(Apr 18, 2020)

  • v2.3.0(Sep 8, 2019)

  • v3.0.0(Feb 15, 2018)

  • v2.1.0(Nov 1, 2016)

    This version supports Laravel 5.3. No major changes.

    Stay tuned for V3 release as it's packed with several new features and cool stuff. 😎

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Dec 27, 2015)

    This version brings in some major and breaking changes to the SDK.

    Head to CHANGELOG page for detailed info on what's changed and follow the UPGRADE Guide for detailed instructions on how to upgrade your version of this library. And take a look at the documentations to explore more details and to check out the examples.

    Huge thanks to all our contributors who helped improve the SDK and made it much better :)

    P.S Open issues if you face any issues.

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Sep 7, 2015)

    This version brings in some major updates and features, Such as the all new Commands System, API Change, Tweaks, Enhancements and Breaking Changes.

    Head to CHANGELOG page for detailed info on what's changed and follow the UPGRADE Guide for detailed instructions on how to upgrade your version of this library.

    Also, Did you check out the shiny new documentation page?

    Huge thanks to all contributors and shout out to @jonnywilliamson for actively contributing and helping me to make this release possible.

    Source code(tar.gz)
    Source code(zip)
  • v0.2.6(Aug 18, 2015)

    • Added Video Caption Support to sendVideo() method - Thanks @jonnywilliamson
    • Added Duration Support to sendVideo() and sendAudio() methods.
    • Fixes Contact Object Namespace - Thanks @DmitryNek
    • Fixes HTTPClientHandlerInterface Laravel Config Typo.
    Source code(tar.gz)
    Source code(zip)
  • v0.2.5(Jul 20, 2015)

  • v0.2.4(Jul 12, 2015)

  • v0.2.3(Jul 12, 2015)

  • v0.2.2(Jul 2, 2015)

  • v0.2.1(Jul 2, 2015)

  • v0.2.0(Jul 2, 2015)

Owner
Irfaq Syed
🚀 Founder @lukonet @PHPChat Creator @telegram-bot-sdk
Irfaq Syed
PHP Telegram Bot based on the official Telegram Bot API with iTelegram Class.

iTelegram PHP Telegram Bot based on the official Telegram Bot API Bots: An introduction for developers Bots are special Telegram accounts designed to

iNeoTeam | آی نئو 5 Nov 9, 2022
PHP Telegram Bot based on the official Telegram Bot API

PHP Telegram Bot based on the official Telegram Bot API

null 4 Dec 8, 2021
SDK for latest version of Telegram bots API

SDK for latest version of Telegram bots API (from April 24, 2020) Using Examples Installing composer require "DiyorbekUz/Telelib: dev-master" Init bot

Diyorbek 2 Sep 5, 2021
A2Reviews Client API lets you build apps, extensions or plugins to get reviews from the A2reviews APP

A2Reviews Client API lets you build apps, extensions or plugins to get reviews from the A2reviews APP. Including adding reviews to a store's products. It is used to import and export reviews through the API. This is the official package built and developed by A2Reviews, Inc.

Be Duc Tai 2 Sep 25, 2021
Build a Telegram Bot

Build a Telegram Bot

Msf 7 Sep 29, 2022
Telegraph - a Laravel package for fluently interaction with Telegram Bots

Telegraph - a Laravel package for fluently interaction with Telegram Bots

def:studio 412 Dec 30, 2022
A bot that translates the words you choose during the chat in Telegram to the language you want.

About Needy Telegram Translator If you are constantly using telegram and want to translate words into different languages, this library is for you. Qu

Ä°brahim Sayar 2 May 27, 2022
Create modern Telegram Bots with PHP.

Telepath Create Telegram Bots with this modern PHP library Explore the docs » Report Bug · Request Feature Table of Contents About The Project Before

Telepath 5 Nov 7, 2022
A framework agnostic PHP library to build chat bots

BotMan If you want to learn how to create reusable PHP packages yourself, take a look at my upcoming PHP Package Development video course. About BotMa

BotMan 5.8k Jan 3, 2023
The Telegram bot framework that doesn't drive you nuts.

Nutgram The Telegram bot framework that doesn't drive you nuts This framework takes advantage of the latest PHP 8 features, and tries to make the spee

Sergio Brighenti 209 Dec 26, 2022
The Telegram bot framework that doesn't drive you nuts.

This framework takes advantage of the latest PHP 8 features, and tries to make the speed, scalability and flexibility of use its strength, it will allow you to quickly make simple bots, but at the same time, it provides more advanced features to handle even the most complicated flows

Sergio Brighenti 210 Jan 5, 2023
Integrate Your PHP Code With Telegram Bot API for Beginner

Documentation[https://core.telegram.org/bots/api] Resource[https://github.com/bachors/KBBI.sql] Integrate Your PHP Code With Telegram Bot API for Begi

Nova Andre Saputra 1 Oct 19, 2021
Easy to install email tracker with gui and telegram api bot with date device & ip tracking,

mail-php-tracking-with-gui ?? Simple mail tracking program that uses php, html, telegram bot, and a gui The gui The gui lets you create specific links

null 7 Dec 20, 2022
HTTP Requestor: Package for a client request that supports you to make an external service request easily and with fast usage.

HttpRequestor from Patienceman HTTP Requestor: Package for a client request that supports you to make an external service request easily and with fast

Manirabona Patience 2 Aug 26, 2022
The best PHP library for VK Users Longpoll Api (Page Bots).

vk-page-bot-lib Description: There are 2 commands and a logger. There is a logger of new messages and a logger that a friend has entered/left in/from

KirillChimbur 6 Jul 25, 2022
laravel package untuk memudahkan penggunaan MCA dengan Telegram Bot USDI di aplikasi Universitas Udayana.

MCA KubeMQ Laravel laravel package untuk memudahkan penggunaan MCA dengan Telegram Bot USDI di aplikasi Universitas Udayana. Motivasi Proyek ini berfu

Ristek USDI 1 Nov 17, 2021
A telegram bot to check credit cards. written in php & py

MRBANKER BOT A telegram bot to check credit cards. written in php & py. You can find me on telegram STEP1: goto botfather create a bot copy the token

Nitin1818 48 Dec 30, 2022
NovaGram - An elegant, Object-Oriented, reliable PHP Telegram Bot Library

An elegant, Object-Oriented, reliable PHP Telegram Bot Library Full Documentation • Public support group Examples • Features • Installation ?

Gaetano 165 Jan 6, 2023
Simple telegram auto reminder BOT with PHP

Telebot Script Telegram BOT Auto Reminder Dibuat pake PHP OOP Sebenernya bukan buat dipublish sih, ini cuma buat praktek PHP OOP sama praktek Commit &

its Galih 4 Nov 7, 2022