Comments (2)
No, I don't think it's possible at least now. WebhookHandler requires async/await style if we would like to register async function.
There are 2 solution to use async functions
- Add
AsyncWebhookHandler
newly in line-bot-sdk-python, which is very similar withWebhookHandler
to register functions. It seems easy to define this. - Just write code like above, and we won't use
WebhookHandler
in async style.
from line-bot-sdk-python.
Well Received!
Thanks
from line-bot-sdk-python.
Related Issues (20)
- Update version on release HOT 1
- i use the demo but it show me the alert HTTP response body: {"message":"Invalid reply token"} HOT 2
- I've got error HOT 2
- OSError: write error HOT 17
- Difference between func() and func_with_http_info() HOT 1
- quote tokens的調用方式 HOT 3
- Can't install this pool in python 3.12 HOT 3
- `to_json` method of Flex Object escapes Japanese characters HOT 3
- Adding new language support to documentation HOT 2
- it seems like there is no way to issue ChannelAccessToken with this SDK HOT 3
- How to save a GIF image in flask-kitchensink HOT 2
- Cannot get `Content-Type` in `MessagingApiBlob().get_message_content()`. HOT 2
- How to used ClipboardAction? HOT 3
- publishing line-bot-sdk-python v3.10.0 failed HOT 1
- Can't override DATA_URL in v3 package
- test
- Create new example for an echo-bot using AWS Lambda Functions, `linebot.v3` HOT 1
- pip install line-bot-sdk
- Question about carousel template send via reply_message method. HOT 10
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 line-bot-sdk-python.