ctx.reply() doesnt return data when using web hook
See original GitHub issueIs there a way to get message_id
from a just sent message when using web hook?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Telegraf and Heroku not sending the first reply on webhook ...
I want to add some feedback while the server works, so I add a ctx.reply("searching...") after the command right before the function getdata...
Read more >API Reference - Discord.py
After this, the bot can be considered “re-opened”, i.e. is_closed() and is_ready() both return False along with the bot's internal cache cleared. await...
Read more >Webhooks - VerneMQ
The VerneMQ Webhooks plugin provides an easy and flexible way to build powerful plugins for VerneMQ using web hooks. With VerneMQ Webhooks you...
Read more >files.upload method - Slack API
This method allows you to create or upload an existing file. You must provide either a file or content parameter. The content of...
Read more >Interactions - Discord
Deletes the initial Interaction response. Returns 204 No Content on success. Create Followup Message. POST/webhooks/{application.id} ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Basically,
ctx.reply
is just shortcut toctx.telegram.sendMessage
. If you wanna disable response to webhook, you can usectx.webhookReply
prop:Related issues: https://github.com/telegraf/telegraf/search?q=webHookReply&type=Issues
Don’t use
ctx.telegram.sendMessage
butbot.telegram.sendMessage
(or with your namings it’s probablyHandler.telegram.sendMessage
. Then it should work 😃