python-telegram-bot/tests
Eldinnie 4689a80c2e Bot API 4.0 (#1168)
Telegram Passport (#1174):

- Add full support for telegram passport.
    - New types: PassportData, PassportFile, EncryptedPassportElement, EncryptedCredentials, PassportElementError, PassportElementErrorDataField, PassportElementErrorFrontSide, PassportElementErrorReverseSide, PassportElementErrorSelfie, PassportElementErrorFile and PassportElementErrorFiles.
    - New bot method: set_passport_data_errors
    - New filter: Filters.passport_data
    - Field passport_data field on Message
    - PassportData is automagically decrypted when you specify your private key when creating Updater or Bot.
    - PassportFiles is also automagically decrypted as you download/retrieve them.
- See new passportbot.py example for details on how to use, or go to our telegram passport wiki page for more info
- NOTE: Passport decryption requires new dependency `cryptography`.

Inputfile rework (#1184):

- Change how Inputfile is handled internally
- This allows support for specifying the thumbnails of photos and videos using the thumb= argument in the different send_ methods.
- Also allows Bot.send_media_group to actually finally send more than one media.
- Add thumb to Audio, Video and Videonote
- Add Bot.edit_message_media together with InputMediaAnimation, InputMediaAudio, and inputMediaDocument.

Other Bot API 4.0 changes:

- Add forusquare_type to Venue, InlineQueryResultVenue, InputVenueMessageContent, and Bot.send_venue. (#1170)
- Add vCard support by adding vcard field to Contact, InlineQueryResultContact, InputContactMessageContent, and Bot.send_contact. (#1166)
- Support new message entities: CASHTAG and PHONE_NUMBER. (#1179)
    - Cashtag seems to be things like $USD and $GBP, but it seems telegram doesn't currently send them to bots.
    - Phone number also seems to have limited support for now
- Add Bot.send_animation, add width, height, and duration to Animation, and add Filters.animation. (#1172)


Co-authored-by: Jasmin Bom <jsmnbom@gmail.com>
Co-authored-by: code1mountain <32801117+code1mountain@users.noreply.github.com>
Co-authored-by: Eldinnie <pieter.schutz+github@gmail.com>
Co-authored-by: mathefreak1 <mathefreak@hi2.in>
2018-08-29 14:18:58 +02:00
..
data Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
__init__.py Fix travis 2015-09-07 16:33:00 -03:00
bots.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
conftest.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_animation.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_audio.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_bot.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_callbackquery.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_callbackqueryhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_chat.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_chatmember.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_choseninlineresult.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_choseninlineresulthandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_commandhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_constants.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_contact.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_conversationhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_dispatcher.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_document.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_encryptedcredentials.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_encryptedpassportelement.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_error.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_file.py Improved File.download (#1019) 2018-03-01 10:10:04 +02:00
test_filters.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_forcereply.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_game.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_gamehighscore.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_helpers.py mention_markdown/html py2 fixes + unitests (#1112) 2018-05-28 23:51:39 +03:00
test_inlinekeyboardbutton.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinekeyboardmarkup.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_inlinequery.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_inlinequeryhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_inlinequeryresultarticle.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultaudio.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedaudio.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcacheddocument.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedgif.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedmpeg4gif.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedphoto.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedsticker.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedvideo.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedvoice.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcontact.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultdocument.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultgame.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultgif.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultlocation.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultmpeg4gif.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultphoto.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultvenue.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_inlinequeryresultvideo.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultvoice.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputcontactmessagecontent.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputfile.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_inputlocationmessagecontent.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputmedia.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_inputtextmessagecontent.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputvenuemessagecontent.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_invoice.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_jobqueue.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_keyboardbutton.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_labeledprice.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_location.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_message.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_messageentity.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_messagehandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_messagequeue.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_meta.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_official.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_orderinfo.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_parsemode.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_passport.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_passportelementerrordatafield.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_passportelementerrorfile.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_passportelementerrorfiles.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_passportelementerrorfrontside.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_passportelementerrorreverseside.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_passportelementerrorselfie.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_passportfile.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_photo.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_precheckoutquery.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_precheckoutqueryhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_regexhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_replykeyboardmarkup.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_replykeyboardremove.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_request.py Handle utf8 decoding errors (#1076) 2018-04-17 07:40:02 +03:00
test_shippingaddress.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_shippingoption.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_shippingquery.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_shippingqueryhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_sticker.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
test_stringcommandhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_stringregexhandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_successfulpayment.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_telegramobject.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_typehandler.py Revert "Context based callbacks (#1100)" 2018-05-31 14:22:57 +02:00
test_update.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_updater.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_user.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_userprofilephotos.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_venue.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_video.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_videonote.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_voice.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
travis_fold.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00