feat(plugins): add poll, react, boosts, and bulk ops#96
Merged
Conversation
added 4 commits
February 13, 2026 00:29
- poll: create polls and quizzes via /poll and /quiz with pipe-separated options; uses native Telegram poll API with quiz mode support - react: reply to messages with /react <emoji> to set reactions via set_message_reaction API; auto-deletes command message - boosts: view user boost count in chat, hooks on_chat_boost to send notification when chat receives a new boost - bulkops: /forward and /copy commands to forward/copy replied messages to target chats using forward_messages/copy_messages API
# Conflicts: # src/core/router.lua # src/plugins/admin/init.lua # src/plugins/fun/init.lua # src/plugins/utility/init.lua
# Conflicts: # src/core/router.lua
# Conflicts: # src/plugins/admin/init.lua
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/poll Question | Opt1 | Opt2and/quiz Question | Correct | Wrong1 | Wrong2; uses native Telegram poll API/react <emoji>to set reactions; auto-deletes command message/boosts [user]shows boost count; hookson_chat_boostfor notifications/forward <chat_id>and/copy <chat_id>to forward/copy replied messagesDepends on #94 (router expansion) for poll, reaction, and boost hooks.
Test plan
/poll Question? | Yes | No | Maybe/quiz Capital of France? | Paris | London | Berlin/react 👍in reply to a message/boostsand/boosts @usernamein a group/forward <chat_id>in reply to a message/copy <chat_id>in reply to a message🤖 Generated with Claude Code