Feature/dashboard navigation#101
Open
kaungzinye wants to merge 4 commits into
Open
Conversation
added 2 commits
September 6, 2025 19:29
- Add urlparse import for URL validation - Validate generated URLs before returning them - Add fallback URL generation if validation fails - Prevent malformed URLs from causing Telegram API errors - Fix BUTTON_TYPE_INVALID error in web app buttons File modified: - bot/utils/web_app.py: Added URL validation and error handling
- Fix BUTTON_TYPE_INVALID error in group chats by using regular URL buttons - Keep WebApp buttons for private chats where they work properly - Group chats now use url parameter instead of web_app parameter - Maintains functionality while fixing Telegram API compatibility issue The issue was that WebApp buttons have restrictions in group chats, causing BUTTON_TYPE_INVALID errors. This fix uses different button types based on chat type for better compatibility.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
added 2 commits
September 8, 2025 09:38
- In private chats: still replies directly to user's message - In group chats: sends help message without replying to user's message - Maintains dashboard button functionality for both chat types
db07c3b to
0db62ec
Compare
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.
No description provided.