Skip to content

Commit c8e85b5

Browse files
committed
Version 0.4.0
Update composer packages and add limiter description.
1 parent cf613de commit c8e85b5

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ Installation and usage is pretty straight forward:
1919

2020
Either run this command in your command line:
2121

22-
```
23-
composer require noplanman/telegram-bot-manager:^0.3
22+
```bash
23+
composer require noplanman/telegram-bot-manager:^0.4
2424
```
2525

2626
**or**
2727

2828
For existing Composer projects, edit your project's `composer.json` file to require `noplanman/telegram-bot-manager`:
2929

30-
```js
30+
```yaml
3131
"require": {
32-
"noplanman/telegram-bot-manager": "^0.3"
32+
"noplanman/telegram-bot-manager": "^0.4"
3333
}
3434
```
3535
and then run `composer update`
@@ -166,6 +166,8 @@ allowed_updates | List the types of updates you want your bot to receive
166166
*array* | *e.g.* `['message', 'edited_channel_post', 'callback_query']`
167167
logging | Path(s) where to the log files should be put. This is an array that can contain all 3 log file paths (`error`, `debug` and `update`).
168168
*array* | *e.g.* `['error' => __DIR__ . '/php-telegram-bot-error.log']`
169+
limiter | Enable or disable the limiter functionality
170+
*bool* | *e.g.* `true` or `false`
169171
admins | An array of user ids that have admin access to your bot.
170172
*array* | *e.g.* `[12345]`
171173
mysql | Mysql credentials to connect a database (necessary for [`getUpdates`](#using-getupdates-method) method!).

composer.lock

Lines changed: 12 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)