Comments (3)
same problem here...the bot keep stop when don't have vcard
from driver-telegram.
Same problem too.
curl 'http://chatbot.loc:8080/botman' POST -d '{"update_id":513976669, "message":{"message_id":200,"from":{"id":1218871752,"is_bot":false,"first_name":"Eduard","last_name":"Malik","username":"eduard_malik","language_code":"ru"},"chat":{"id":1218871752,"first_name":"Eduard","last_name":"Malik","username":"eduard_malik","type":"private"},"date":1600069362,"contact":{"phone_number":"79789999999","first_name":"Eduard","last_name":"Malik","user_id":1218871752}}}'
ErrorException: Undefined index: vcard in file /home/hotadd/www/chatbot/vendor/botman/driver-telegram/src/TelegramContactDriver.php on line 55
Stack trace:
- ErrorException->() /home/hotadd/www/chatbot/vendor/botman/driver-telegram/src/TelegramContactDriver.php:55
- Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() /home/hotadd/www/chatbot/vendor/botman/driver-telegram/src/TelegramContactDriver.php:55
- BotMan\Drivers\Telegram\TelegramContactDriver->loadMessages() /home/hotadd/www/chatbot/vendor/botman/driver-telegram/src/TelegramContactDriver.php:38
- BotMan\Drivers\Telegram\TelegramContactDriver->getMessages() /home/hotadd/www/chatbot/vendor/botman/botman/src/BotMan.php:192
- BotMan\BotMan\BotMan->getMessages() /home/hotadd/www/chatbot/vendor/botman/botman/src/Traits/HandlesConversations.php:170
- BotMan\BotMan\BotMan->loadActiveConversation() /home/hotadd/www/chatbot/vendor/botman/botman/src/BotMan.php:422
- BotMan\BotMan\BotMan->listen() /home/hotadd/www/chatbot/routes/botman.php:26
- Illuminate\Routing\RouteFileRegistrar->{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
- Illuminate\Routing\Route->runCallable() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Routing/Route.php:179
- Illuminate\Routing\Route->run() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php:681
- Illuminate\Routing\Router->Illuminate\Routing{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41
- Illuminate\Routing\Middleware\SubstituteBindings->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:77
- Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49
- Illuminate\View\Middleware\ShareErrorsFromSession->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56
- Illuminate\Session\Middleware\StartSession->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37
- Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67
- Illuminate\Cookie\Middleware\EncryptCookies->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105
- Illuminate\Pipeline\Pipeline->then() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php:683
- Illuminate\Routing\Router->runRouteWithinStack() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658
- Illuminate\Routing\Router->runRoute() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php:624
- Illuminate\Routing\Router->dispatchToRoute() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613
- Illuminate\Routing\Router->dispatch() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170
- Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/fideloper/proxy/src/TrustProxies.php:57
- Fideloper\Proxy\TrustProxies->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21
- Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21
- Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27
- Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63
- Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105
- Illuminate\Pipeline\Pipeline->then() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145
- Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() /home/hotadd/www/chatbot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110
- Illuminate\Foundation\Http\Kernel->handle() /home/hotadd/www/chatbot/public/index.php:55
from driver-telegram.
Fixed via #88 and will be released as 1.6.2
later today.
from driver-telegram.
Related Issues (20)
- Is it possible to send local files (not by URL)? HOT 2
- Receiving image caption HOT 2
- How to send video via telegram bot HOT 1
- Not working callback_data in menu HOT 3
- Feature request: Implement sendMediaGroup for attachments
- How to get callback_query_id into Conversation HOT 1
- Feature request / suggest: detect when message is pinned / unpinned
- Replace PSR-2 with PSR-12
- The tests GitHub workflow is not working HOT 1
- Error with contacts that don't have telegram account!
- Why extra call to API for getUser()? HOT 1
- New Feature: Get the complete chatMember object
- TODO: Improve documentation HOT 4
- how we could add custom generic events?
- Add new exceptions: bot was blocked by the user, chat not found
- Error retrieving user contact HOT 1
- TelegramInlineQueryDriver [feature discussion]
- Class 'BotMan\BotMan\Messages\Attachments\Contact' not found HOT 1
- How to use Keyboard HOT 2
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 driver-telegram.