Skip to content

Commit

Permalink
update: add 2 new bot Configs for polling mode and update dependency …
Browse files Browse the repository at this point in the history
…versions
  • Loading branch information
AmirHkrg committed Sep 6, 2024
1 parent a26048a commit ed3ed0c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"minimum-stability": "stable",
"require": {
"laraxgram/laraquest" : "^0.7",
"laraxgram/core": "^0.6"
"laraxgram/laraquest" : "^0",
"laraxgram/core": "^0"
}
}
12 changes: 12 additions & 0 deletions config/bot.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,16 @@
* (Required)
*/
'DEFAULT_MODE' => 'curl',

/*
* Polling Timeout
* (Required on polling mode)
*/
'POLLING_TIMEOUT' => 100,

/*
* Polling refresh rate
* (Required on polling mode)
*/
'POLLING_SLEEP_TIME' => 0.5,
];

0 comments on commit ed3ed0c

Please sign in to comment.