Skip to content

Conversation

@zeshuaro
Copy link
Contributor

No description provided.

Copy link
Member

@Bibo-Joshi Bibo-Joshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR, @zeshuaro! I think this is a good addition. A few notes:

  • Please add telegram.Animation to the doc string of bot.get_file
  • The updated tests seem to be copy-pasted from test_audio, so they should be fine. I'd still like to have one @python-telegram-bot/maintainers review them …
  • While you're at it, do you thinks you could add get_small_file and get_big_file to ChatPhoto ?

AFAICS the failed tests are only due to test_official, but the test setup was updated to allow for that to fail. So if merge from master, we can see, if everthing passes :)

@zeshuaro zeshuaro changed the title Add get_file to Animation Add instance methods to Animation and ChatPhoto Sep 6, 2019
@zeshuaro
Copy link
Contributor Author

zeshuaro commented Sep 9, 2019

I've fixed the issues that you pointed out and added the new methods.

@Bibo-Joshi
Copy link
Member

Yes, thanks!
The failed test seems unrelated, so this get's a LGTM from my side. :)

@tsnoam tsnoam merged commit 32dd415 into python-telegram-bot:master Sep 13, 2019
@tsnoam
Copy link
Member

tsnoam commented Sep 13, 2019

@zeshuaro Thank you for your contribution

@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants