Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tiagosampaio/telegram-bot-php

Create powerful app integrations with this Telegram Bot SDK. It's as easy as incredible!!
https://github.com/tiagosampaio/telegram-bot-php

integration php php-sdk sdk sdk-php telegram telegram-api telegram-bot telegram-bot-api telegram-bots telegram-php telegram-php-sdk telegram-sdk telegramphp

Last synced: 29 days ago
JSON representation

Create powerful app integrations with this Telegram Bot SDK. It's as easy as incredible!!

Awesome Lists containing this project

README

        




















# Telegram Bot PHP

#### The easiest way to integrate your PHP application with Telegram Bots.

Create powerful app integrations with this Telegram Bot SDK. It's as easy as incredible!!

See an example of how easy it is to use:

```php
sentence(20);

/**
* Create and instance of the API by using the ApiFactory.
* @var \Telegram\ApiInterface $api
*/
$api = \Telegram\ApiFactory::create($token);

/**
* And call the proper method.
* @var \Telegram\Service\ResultInterface $response
*/
$response = $api->methods()->sendMessage($chatId, $text);
```

## Telegram BotFather

This link to [BotFather](https://telegram.me/BotFather) will guide you to create your Telegram Bot.

## Authors

Tiago Sampaio - [[email protected]](mailto:[email protected])

## License
> Telegram Bot PHP is a personal project initiated in late 2018 by Tiago Sampaio. It's free for use.

[The Open Software License 3.0 (OSL-3.0)](https://opensource.org/licenses/osl-3.0.php).

Pelase, see the file LICENSE.txt to a complete description of the OSL License.