@@ -39,7 +39,6 @@ A Telegram Bot based on the official [Telegram Bot API][Telegram-Bot-API]
3939- [ Utils] ( #utils )
4040 - [ MySQL storage (Recommended)] ( #mysql-storage-recommended )
4141 - [ Channels Support] ( #channels-support )
42- - [ Botan.io integration (Optional)] ( #botanio-integration-optional )
4342- [ Commands] ( #commands )
4443 - [ Predefined Commands] ( #predefined-commands )
4544 - [ Custom Commands] ( #custom-commands )
@@ -81,7 +80,6 @@ The Bot can:
8180- full support for ** inline bots** .
8281- inline keyboard.
8382- Messages, InlineQuery and ChosenInlineQuery are stored in the Database.
84- - * Botan.io* integration and database cache system. (** new!** )
8583- Conversation feature
8684
8785-----
@@ -444,29 +442,6 @@ $telegram->enableExternalMySql($external_pdo_connection)
444442All methods implemented can be used to manage channels.
445443With [ admin commands] ( #admin-commands ) you can manage your channels directly with your bot private chat.
446444
447- ### Botan.io integration (Optional)
448-
449- You can enable the integration using this line in you ` hook.php ` :
450-
451- ``` php
452- $telegram->enableBotan('your_token');
453- ```
454-
455- Replace ` your_token ` with your Botan.io token, check [ this page] ( https://github.com/botanio/sdk#creating-an-account ) to see how to obtain one.
456-
457- The following actions will be tracked:
458- - Commands (shown as ` Command (/command_name) ` in the stats
459- - Inline Queries, Chosen Inline Results and Callback Queries
460- - Messages sent to the bot (or replies in groups)
461-
462- In order to use the URL shortener you must include the class ` use Longman\TelegramBot\Botan; ` and call it like this:
463-
464- ``` php
465- Botan::shortenUrl('https://github.com/php-telegram-bot/core', $user_id);
466- ```
467-
468- Shortened URLs are cached in the database (if MySQL storage is enabled).
469-
470445### Commands
471446
472447#### Predefined Commands
0 commit comments