Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reply into webhook for less api calls #102

Open
akarsh1995 opened this issue Dec 10, 2021 · 3 comments
Open

Support reply into webhook for less api calls #102

akarsh1995 opened this issue Dec 10, 2021 · 3 comments
Labels
core Something, that affects core functionality

Comments

@akarsh1995
Copy link

It helps to reduce the api calls hence less overhead.

Check code for reference in aiogram webhook example: https://github.com/aiogram/aiogram/blob/dea94d2574893f4d0e7df358852a543ef9214217/examples/webhook_example.py#L34

More description can be found here: telegram-bot-rb/telegram-bot#59 (comment)

@Tishka17
Copy link
Owner

It is difficult to implement, because we beed to know if message is updated correctly and resend in case if errors.

@Tishka17 Tishka17 added the core Something, that affects core functionality label Dec 20, 2021
@akarsh1995
Copy link
Author

Let's consider it's the developer's call, is it possible to implement it ?

@Tishka17
Copy link
Owner

The main difficulty is that we cannot store message id to edit it infuture if we send it in such manner. Probably this will not be implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Something, that affects core functionality
Projects
None yet
Development

No branches or pull requests

2 participants