python-telegram-bot/tests
Bibo-Joshi ed147813ab
API 5.3 (#2572)
* BotCommandScopes

* pre-commit

* typo

Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>

* rename kickChatMember & getChatMembersCount method

Signed-off-by: starry69 <starry369126@outlook.com>

* add `language_code` and `scope` to `get/set_my_commands`

and add `delete_my_commands()`

* add `input_field_placeholder` to replykeyboardmarkup.py and forcereply.py

also improved/fixed docs along the way

* showcase `input_field_placeholder` in conversationbot.py

* review 1

'i will not go away' has gone away 😢

* deprecate `Bot.commands` and make sure its only used for default scope

* review 2 (use constants for scope)

* Review

Signed-off-by: starry69 <starry369126@outlook.com>

* doc updates

* New ChatMember classes

Signed-off-by: starry69 <starry369126@outlook.com>

* Address review

Signed-off-by: starry69 <starry369126@outlook.com>

* add versionadded tags again

Signed-off-by: starry69 <starry369126@outlook.com>

* Improve tests & add a deprecation note to ChatMember

* test_official

* Documentation tweaks

* Bump bot api version number

* but bot

* Rename chat shortcuts

Signed-off-by: starry69 <starry369126@outlook.com>

* deepsource

Signed-off-by: starry69 <starry369126@outlook.com>

* add missing slot in botcommandscope & missing slot tests

Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: starry69 <starry369126@outlook.com>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-07-01 17:45:19 +02:00
..
data API 5.0 (#2181) 2020-11-29 16:20:46 +01:00
__init__.py Fix travis 2015-09-07 16:33:00 -03:00
bots.py Update Fallback Test-Bots (#2451) 2021-03-30 19:28:01 +02:00
conftest.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
plugin_github_group.py Supplement Codacy with DeepSource (#2454) 2021-05-27 09:38:17 +02:00
test_animation.py Stabilize CI (#2575) 2021-06-26 22:19:59 +02:00
test_audio.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_bot.py API 5.3 (#2572) 2021-07-01 17:45:19 +02:00
test_botcommand.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_botcommandscope.py API 5.3 (#2572) 2021-07-01 17:45:19 +02:00
test_callbackcontext.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_callbackdatacache.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_callbackquery.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_callbackqueryhandler.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_chat.py API 5.3 (#2572) 2021-07-01 17:45:19 +02:00
test_chataction.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_chatinvitelink.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_chatlocation.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_chatmember.py API 5.3 (#2572) 2021-07-01 17:45:19 +02:00
test_chatmemberhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_chatmemberupdated.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_chatpermissions.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_chatphoto.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_choseninlineresult.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_choseninlineresulthandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_commandhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_constants.py Supplement Codacy with DeepSource (#2454) 2021-05-27 09:38:17 +02:00
test_contact.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_contexttypes.py Add ContextTypes & BasePersistence.refresh_user/chat/bot_data (#2262) 2021-06-06 10:37:53 +02:00
test_conversationhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_defaults.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_dice.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_dispatcher.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_document.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_encryptedcredentials.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_encryptedpassportelement.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_error.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_file.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_filters.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_forcereply.py API 5.3 (#2572) 2021-07-01 17:45:19 +02:00
test_game.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_gamehighscore.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_handler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_helpers.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_inlinekeyboardbutton.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_inlinekeyboardmarkup.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequery.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultarticle.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultaudio.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcachedaudio.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcacheddocument.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcachedgif.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcachedmpeg4gif.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcachedphoto.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcachedsticker.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcachedvideo.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcachedvoice.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultcontact.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultdocument.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultgame.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultgif.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultlocation.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultmpeg4gif.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultphoto.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultvenue.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultvideo.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inlinequeryresultvoice.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inputcontactmessagecontent.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inputfile.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inputinvoicemessagecontent.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inputlocationmessagecontent.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inputmedia.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inputtextmessagecontent.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_inputvenuemessagecontent.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_invoice.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_jobqueue.py Add ContextTypes & BasePersistence.refresh_user/chat/bot_data (#2262) 2021-06-06 10:37:53 +02:00
test_keyboardbutton.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_keyboardbuttonpolltype.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_labeledprice.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_location.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_loginurl.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_message.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_messageautodeletetimerchanged.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_messageentity.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_messagehandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_messageid.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_messagequeue.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_meta.py Make cryptography Dependency Optional & Refactor Some Tests (#2386) 2021-02-13 22:07:37 +01:00
test_no_passport.py Make cryptography Dependency Optional & Refactor Some Tests (#2386) 2021-02-13 22:07:37 +01:00
test_official.py API 5.3 (#2572) 2021-07-01 17:45:19 +02:00
test_orderinfo.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_parsemode.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passport.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrordatafield.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrorfile.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrorfiles.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrorfrontside.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrorreverseside.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrorselfie.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrortranslationfile.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrortranslationfiles.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportelementerrorunspecified.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_passportfile.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_persistence.py Better Exception-Handling for BasePersistence.replace/insert_bot (#2564) 2021-06-20 22:14:05 +02:00
test_photo.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_poll.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_pollanswerhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_pollhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_precheckoutquery.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_precheckoutqueryhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_promise.py Fix for Promise.done_callback (#2544) 2021-06-05 17:08:45 +02:00
test_proximityalerttriggered.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_regexhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_replykeyboardmarkup.py API 5.3 (#2572) 2021-07-01 17:45:19 +02:00
test_replykeyboardremove.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_request.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_shippingaddress.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_shippingoption.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_shippingquery.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_shippingqueryhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_slots.py Arbitrary callback_data (#1844) 2021-06-06 11:48:48 +02:00
test_sticker.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_stringcommandhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_stringregexhandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_successfulpayment.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_telegramobject.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_typehandler.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_update.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_updater.py Stabilize CI (#2575) 2021-06-26 22:19:59 +02:00
test_user.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_userprofilephotos.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_utils.py python-telegram-bot-raw (#2324) 2021-01-30 14:15:39 +01:00
test_venue.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_video.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_videonote.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_voice.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_voicechat.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00
test_webhookinfo.py Add __slots__ (#2345) 2021-05-29 16:18:16 +02:00