[Feature Request] Support for "Send Typing" trigger from Bot Builder
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start in bootstrap.php and trace how the Generic Bot handles the Bot Builder's "Send Typing" event. Follow the existing Telegram request flow and determine where Longman\TelegramBot\Request::sendChatAction should be invoked; done means Telegram users see the typing status when that command runs.
Written by the indexing model from the issue text.
Description
Hello, Remi!
I have configured a bot in the Bot Builder that uses the "Send Typing" trigger (to simulate that the operator/bot is thinking before sending a message).
Current behavior:
When the bot reaches the "Send Typing" step, the delay works (the bot waits), but the Telegram user does not see the "Typing..." status in the chat header. It works perfectly in the Web Widget, but not in Telegram.
Expected behavior:
When the Bot Builder executes the "Send Typing" command, the extension should send a sendChatAction request to the Telegram API so the user sees "typing..." status.
Technical details:
I checked bootstrap.php and didn't find a listener that handles the typing event from the Generic Bot.
It seems we need to implement Longman\TelegramBot\Request::sendChatAction when the bot triggers the typing command.
Could you please add support for this?
Environment:
- LHC Version: Latest
- Telegram Extension: Latest
Thank you for your great work!
- Dominant language
- PHP
- Stars
- 59
- Forks
- 36
- Avg merge
- 6h 40m
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LiveHelperChat/telegram
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
LiveHelperChat/telegram#71 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
LiveHelperChat/telegram#33 · 1 comment ·
All issues in LiveHelperChat/telegram
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·