python-telegram-bot/telegram/inline
Bibo-Joshi 960c7a0c70
Add default values (#1490)
* added parse_mode parameter in Updater and in Bot class to set a default parse mode for bot

* DefaultValue

* Add default parse_mode everywhere

* Renome to default_parse_mode

* Test def parse_mode for send_*, edit_message_*

* Remove duplicate code in Input* classes

* Improve handling of def_p_m for Bot methods

* Remove unneeded deletion of kwargs

* Make @log preserve signature, add bots with defaults to tests

* Fix Codacy

* Fix Travis Error

* Add default_disable_notification

* Add default_disable_web_page_preview

* Add default_disable_timeout

* add default_disable_web_page_preview for InputTextMessageContent

* add default_quote

* Try fixing test_pin_and_unpin

* Just run 3.5 tests for paranoia

* add tests for Defaults

* Revert "Just run 3.5 tests for paranoia"

This reverts commit 1baa91a3a1.

* Tidy up parameters, move Defaults to ext

* Stage new files, because im an idiot

* remove debug prints

* change equality checks for DEFAULT_NONE

* Some last changes

* fix S&R error so that tests actually run

Co-authored-by: Ak4zh <agwl.akash@gmail.com>
Co-authored-by: Eldinnie <Eldinnie@users.noreply.github.com>
2020-02-06 11:22:56 +01:00
..
__init__.py Move a lot of files 2017-06-18 12:35:00 +02:00
inlinekeyboardbutton.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinekeyboardmarkup.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequery.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequeryresult.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultarticle.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequeryresultaudio.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultcachedaudio.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultcacheddocument.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultcachedgif.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultcachedmpeg4gif.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultcachedphoto.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultcachedsticker.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequeryresultcachedvideo.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultcachedvoice.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultcontact.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequeryresultdocument.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultgame.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequeryresultgif.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultlocation.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequeryresultmpeg4gif.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultphoto.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultvenue.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequeryresultvideo.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inlinequeryresultvoice.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inputcontactmessagecontent.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inputlocationmessagecontent.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inputmessagecontent.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inputtextmessagecontent.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
inputvenuemessagecontent.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00