-
Notifications
You must be signed in to change notification settings - Fork 5.9k
API 5.0 Master-PR #2181
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
Merged
Merged
API 5.0 Master-PR #2181
Conversation
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
* New attribute file_name for Audio & Video * Add disable_content_type_detection to send_document and IMDocument
* New dice * Add filters * Add not on slot machine values * Fix typo
* Bot.log_out and Bot.close * Webhookinfo.ip_address * New parameters for Bot.set/delete_webhook
* Update pinned message methods - Also added unpin() shortcut in message.py and unpin all msgs shortcut in chat.py Signed-off-by: Harshil <ilovebhagwan@gmail.com> * Address review + Minor fixes and changes - Add pin_message() & unpin_message() shortcuts in `CallbackQuery`. - Add pin_message(), unpin_message(), & unpin_all_messages() shortcuts in `User`. - Rename unpin_all_chat_messages() to unpin_all_messages() in `Chat` - Minor doc fixes. Signed-off-by: Harshil <ilovebhagwan@gmail.com> * fix failing pre-commit(?) Signed-off-by: Harshil <ilovebhagwan@gmail.com> * Address review, fix tests * update docstring (review 3) * update docstring (review 4)
* Live Locations * fix typo * Adding dots. * explicitly cast as float Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
* Add ChatLocation class * New parameter for unban_chat_member * New attributes for Chat * fix docs
* Build a base class for Filters.{via_bot,chat,user} and add Filters.sender_chat
* Fine tune docs
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
* Slightly increase coverage
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
* adding classes and methods * adressing review comments * Apply suggestions from Bibo-Joshi Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de> * addressing review comments V2 * Apply suggestions from Hinrich Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de> * Fix tests Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
…esult*) (#2199) * InputMedia*.caption_entities * InlineQueryResult*.caption_entities * entities arguments for send_* and edit_message_*
* initial commit * Some tweaking & tests * Handle local paths as file input and unify file input parsing * Accept pathlib.Path objects for paths * Some tweaks in download logic * Tweak some more * Address review * Update telegram/files/file.py Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com> * Update telegram/utils/helpers.py Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com> Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
# Conflicts: # telegram/bot.py # telegram/ext/defaults.py
This reverts commit 0c4fae6
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Gathering all the small PRs to close #2180