Comments (4)
You may also find https://github.com/grammyjs/grammY/blob/main/CONTRIBUTING.md#coding useful
from grammy.
That sounds reasonable. Could you open a pull request to fix it? :)
from grammy.
Yeah, sure, can you give me a hint of what these functions do, so I know how to modify it?
grammY/src/convenience/frameworks.ts
Lines 277 to 290 in c79df4a
from grammy.
Absolutely. Those functions make up the interface between grammY and each web framework. They define how to obtain the update object from the Bot API's webhook request, and provide several ways to respond to the webhook request.
Here is the definition of the interface with documentation for every field. Also, you will find numerous examples in the same file, illustrating how to use them.
from grammy.
Related Issues (20)
- message handler not called for weird reasons HOT 9
- Error handling in web hook mode HOT 2
- Missing type declaration: `has_hidden_members` is missing in type `ChatFromGetChat`. HOT 1
- How to run grammy sendMessage on nextjs app router HOT 4
- Error BUTTON_TYPE_INVALID when i use inlineKeyboard contain a webapp HOT 8
- Treat tg://bot_command text_link entities as commands HOT 4
- bug: uncaught Exception thrown in bot.stop() HOT 2
- Cli Idea HOT 2
- WebHook Reply doesnt work with Fastify Adapter as { content-type': 'application/json'} is missing from headers . HOT 1
- HTTP headers are attempted to be set after the response is send HOT 2
- TypeScript compiles too long when using omitted filter or shortcut for it HOT 12
- @ChatType does not work HOT 1
- (bug) memory leak HOT 6
- Stripe Pre-Checkout Timeout Error while making a Test Payment from Telegram Bot HOT 2
- parse_mode doesn't work with editMessageText HOT 5
- baseApiUrl not working HOT 1
- Publish `grammY` to JSR respository HOT 18
- feat: add a warning in debug mode upon "Call to 'getMe' failed! (401: Unauthorized)" that the bot token is incorrect HOT 9
- 1.22.0 broke existing code type check HOT 7
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 grammy.