* New attribute file_name for Audio & Video * Add disable_content_type_detection to send_document and IMDocument
* 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>
* 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>