-
Notifications
You must be signed in to change notification settings - Fork 5.9k
feat(Bot): add shortcut to pass caption to media group
#3295
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
Bibo-Joshi
merged 25 commits into
python-telegram-bot:master
from
lemontree210:caption-for-media-group-3185
Nov 2, 2022
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ee009c0
feat(`Bot`): add shortcut to pass caption to media group
lemontree210 07b175e
minor fix(`ExtBot`): remove blank line after docsting
lemontree210 0cdfd92
fix(`test_official.py`) add convenience arguments to `ignored`
lemontree210 3ff6f19
fix(`test_inputmedia.py`) remove `flaky` from test checking ValueError
lemontree210 5af855f
fix(`send_media_group`) change `ValueError` message, add caption checks
lemontree210 af61aac
fix(`test_send_media_group`) check media except for 1st have no captions
lemontree210 20c89dd
fix(`send_media_group`) add `:paramref:` to docstring, tweak text
lemontree210 063b2da
fix(`_extbot.py`) remove docstring for `send_media_group()`
lemontree210 e4b7971
fix(`send_media_group`) fix `Defaults`, enhance docstring
lemontree210 c38801f
refactor(`send_media_group`) copy just one media item if necessary
lemontree210 61af4f4
refactor(`send_media_group`) rename caption arguments
lemontree210 7643dc6
refactor(`send_media_group`) remove redundant auxiliary list variable
lemontree210 7a6ffc2
fix(`test_send_media_group`) remove redundant check for no attribute
lemontree210 cb8fef6
fix(`test_send_media_group`) check that method caused no side effects
lemontree210 dac8359
fix(`send_media_group`) fix check of `parse_mode` of individual item
lemontree210 bad0128
fix(`test_send_media_group`) check media w/o `caption`, w/ other attrs
lemontree210 4e8007d
fix(`send_media_group`) fix check for individual captions
lemontree210 6d8954e
refactor(`test_send_media_group`) use new fixture, don't change existing
lemontree210 b0d20c4
fix: revert `parse_mode` typing to `ODVInput[str] = DEFAULT_NONE`, test
lemontree210 008f201
fix typo in test for default parse mode
lemontree210 86d024b
fix side effect of handling of `parse_mode` by bot with defaults
lemontree210 7b68315
fix(conftest.py) exclude `parse_mode` only for `..._media_group()`
lemontree210 b23acc5
fix(test) test send_media_group with Defaults bot and `parse_mode=None`
lemontree210 4010cff
merge `upstream/master`, fix `copy` in `_bot.py`
lemontree210 43d2d28
refactor(`Bot.send_media_group()`): copy only 1st item in media group
lemontree210 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.