@@ -20,7 +20,7 @@ Installation and usage is pretty straight forward:
2020Either run this command in your command line:
2121
2222``` bash
23- composer require php-telegram-bot/telegram-bot-manager:^1.2
23+ composer require php-telegram-bot/telegram-bot-manager:^1.3
2424```
2525
2626** or**
@@ -29,7 +29,7 @@ For existing Composer projects, edit your project's `composer.json` file to requ
2929
3030``` yaml
3131" require " : {
32- " php-telegram-bot/telegram-bot-manager " : " ^1.2 "
32+ " php-telegram-bot/telegram-bot-manager " : " ^1.3 "
3333}
3434```
3535and then run ` composer update `
@@ -42,12 +42,12 @@ It is possible however, to override the core version that this library requires:
4242
4343``` yaml
4444" require " : {
45- " php-telegram-bot/telegram-bot-manager " : " ^1.2 " ,
46- " longman/telegram-bot " : " dev-develop as 0.52 "
45+ " php-telegram-bot/telegram-bot-manager " : " ^1.3 " ,
46+ " longman/telegram-bot " : " dev-develop as 0.54 "
4747}
4848```
4949
50- This example will pull the develop version of the core library, making it appear to be version 0.48 , which then satisfies the requirement.
50+ This example will pull the develop version of the core library, making it appear to be version 0.54 , which then satisfies the requirement.
5151
5252### Performing actions
5353
@@ -247,11 +247,12 @@ $bot = new BotManager([
247247 // (array) Mysql credentials to connect a database (necessary for [`getUpdates`](#using-getupdates-method) method!).
248248 'mysql' => [
249249 'host' => '127.0.0.1',
250+ 'port' => 3306, // optional
250251 'user' => 'root',
251252 'password' => 'root',
252253 'database' => 'telegram_bot',
253- 'table_prefix' => 'tbl_prfx_', // optional
254- 'encoding' => 'utf8mb4', // optional
254+ 'table_prefix' => 'tbl_prfx_', // optional
255+ 'encoding' => 'utf8mb4', // optional
255256 ],
256257
257258 // (array) List of configurable paths.
@@ -318,11 +319,12 @@ $bot = new BotManager([
318319 // Extras.
319320 'mysql' => [
320321 'host' => '127.0.0.1',
322+ 'port' => 3306, // optional
321323 'user' => 'root',
322324 'password' => 'root',
323325 'database' => 'telegram_bot',
324- 'table_prefix' => 'tbl_prfx_', // optional
325- 'encoding' => 'utf8mb4', // optional
326+ 'table_prefix' => 'tbl_prfx_', // optional
327+ 'encoding' => 'utf8mb4', // optional
326328 ],
327329]);
328330```
0 commit comments