Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DOCS] switch_inline_query_current_chat documentation discrepancy #4301

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

Closed
robelasefa opened this issue Jun 17, 2024 · 3 comments · Fixed by #4303
Closed

[DOCS] switch_inline_query_current_chat documentation discrepancy #4301

robelasefa opened this issue Jun 17, 2024 · 3 comments · Fixed by #4303
Labels
⚙️ documentation affected functionality: documentation

Comments

@robelasefa
Copy link

Steps to Reproduce

N/A (This is a documentation issue, not a code issue)

Expected behaviour

The library documentation should accurately reflect the behavior described in the official Telegram Bot API documentation. The switch_inline_query_current_chat parameter should be documented as inserting the bot's username and inline query into the current chat's input field

Actual behaviour

The documentation for InlineKeyboardButton.switch_inline_query_current_chat currently describes behavior that differs from the official Telegram Bot API documentation.

The library documentation currently states that the parameter prompts the user to select a chat of a specific type and then inserts the bot's username and inline query.

Operating System

Windows

Version of Python, python-telegram-bot & dependencies

Not applicable, this is a documentation issue.

Relevant log output

No response

Additional Context

No response

@Bibo-Joshi Bibo-Joshi added ⚙️ documentation affected functionality: documentation and removed bug 🐛 labels Jun 17, 2024
@Bibo-Joshi Bibo-Joshi changed the title [BUG] switch_inline_query_current_chat documentation discrepancy [DOCS] switch_inline_query_current_chat documentation discrepancy Jun 17, 2024
@Bibo-Joshi
Copy link
Member

Hey, thanks for reaching out. Would you like to send a PR to improve the docs?

@robelasefa
Copy link
Author

Hi there! Thanks for the offer! I'm really happy to help improve the documentation, but unfortunately I'm currently away from my computer and unable to send a pull request at the moment.

I've already drafted the changes I'd like to make, but since I'm not able to commit them right now, I think it would be best if either you or another someone could make the updates directly and send a PR.

Bibo-Joshi added a commit that referenced this issue Jun 17, 2024
@Bibo-Joshi
Copy link
Member

Will be closed by #4303

@github-actions github-actions bot locked and limited conversation to collaborators Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⚙️ documentation affected functionality: documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants