Comments (2)
I've messed up.
I was using a controller to receive the webhook updated instead of __invoke()
the bot. So all my handlers was in that controller. When I moved my handlers to routes/telegram.php
and used __invoke()
to run the bot, as the documentation states, all worked just fine.I don't know if you want to do anything with this information, so I will leave the issue opened, but feel free to close it.
from nutgram.
I'm not able to reproduce the issue, I've several bots with Laravel 9 and works just fine.
You should not define the cache store inside the config.php, because at a config resolution time the service container is not yet booted, thats why you are getting an error. The cacherepository is automatically resolved by the service provider (https://github.com/nutgram/nutgram/blob/master/src/NutgramServiceProvider.php#L56) as long you define a default cache driver in the laravel config.
from nutgram.
Related Issues (20)
- [FEATURE] Intended HOT 1
- [BUG] onPreCheckoutQuery Not Executing HOT 3
- How to get service parameter inside command class (Symfony)? HOT 2
- [BUG] KeyboardButtonRequestChat & KeyboardButtonRequestUser can't parse keyboard button HOT 3
- [BUG] onCallbackQueryData() handler cant parse parametrs HOT 2
- Undefined variable $update in RunningMode/Webhook.php on line 74 [BUG] HOT 1
- [BUG] Bulk Messenger just sending to one chat HOT 3
- [BUG] Cannot resolve 'SergiX44\Nutgram\Telegram\Types\WebApp\WebAppInfo' HOT 2
- [BUG] Bulk message stops in first error HOT 1
- [BUG] Incompatible Hydrator Type in Configuration and Nutgram Classes HOT 1
- [BUG] Conversations not restoring state when using auto-wire container HOT 1
- [BUG] starting inline conversation from server
- [BUG] starting an inline conversation from custom step HOT 1
- [BUG] "Serialization of 'Closure' is not allowed" when using Dependency Injection HOT 2
- [BUG] Bot username regex HOT 1
- Better DI injection services for Commands and Conversations HOT 1
- Is it possible to set default params value in sendMessage (and other methods) when bot init? [FEATURE] HOT 2
- [FEATURE] Passing parameters to the next step of conversation without setUserData and serialised in webhook mode HOT 2
- [BUG] starting inline conversation from server HOT 2
- [BUG] Conversation does not store it's chat_id HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nutgram.