python-telegram-bot/docs/source
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
..
_static Docs fixes (#765) 2017-08-02 05:56:07 +03:00
changelog.rst Documentation fixes (#1348) 2019-02-18 20:04:52 +01:00
conf.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
index.rst Doc fixes (#1499) 2019-09-13 21:49:04 +03:00
ptb-logo-orange.ico Add orange favicon 2017-06-07 12:37:29 +02:00
ptb-logo-orange.png [ci skip] docs: add logo to html and pdf builds 2016-11-01 08:09:25 +01:00
ptb-logo_1024.png [ci skip] docs: add logo to html and pdf builds 2016-11-01 08:09:25 +01:00
telegram.animation.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.audio.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.bot.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.callbackgame.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.callbackquery.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.chat.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.chataction.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.chatmember.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.chatpermissions.rst API 4.4 (#1464) 2019-09-06 22:41:43 +03:00
telegram.chatphoto.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.choseninlineresult.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.constants.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.contact.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.credentials.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.datacredentials.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.document.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.encryptedcredentials.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.encryptedpassportelement.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.error.rst Adding docs 2015-08-11 16:17:38 -03:00
telegram.ext.basepersistence.rst Persistence (#1017) 2018-09-20 22:50:40 +02:00
telegram.ext.callbackcontext.rst Revert "Revert "Context based callbacks (#1100)"" 2018-09-21 08:57:01 +02:00
telegram.ext.callbackqueryhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.choseninlineresulthandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.commandhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.conversationhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.defaults.rst Add default values (#1490) 2020-02-06 11:22:56 +01:00
telegram.ext.delayqueue.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.dictpersistence.rst Persistence (#1017) 2018-09-20 22:50:40 +02:00
telegram.ext.dispatcher.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.dispatcherhandlerstop.rst Doc fixes (#1642) 2020-02-02 20:20:54 +01:00
telegram.ext.filters.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.handler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.inlinequeryhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.job.rst Add Job Class to docs (#845) 2017-09-25 20:57:53 +02:00
telegram.ext.jobqueue.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.messagehandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.messagequeue.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.picklepersistence.rst Persistence (#1017) 2018-09-20 22:50:40 +02:00
telegram.ext.precheckoutqueryhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.prefixhandler.rst Revert "Revert "CommandHandler overhaul and PrefixHandler added (#1114)"" 2018-09-21 08:57:43 +02:00
telegram.ext.regexhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.rst Add default values (#1490) 2020-02-06 11:22:56 +01:00
telegram.ext.shippingqueryhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.stringcommandhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.stringregexhandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.typehandler.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.ext.updater.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.file.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.filecredentials.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.forcereply.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.game.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.gamehighscore.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.iddocumentdata.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.inlinekeyboardbutton.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinekeyboardmarkup.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequery.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresult.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultarticle.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultaudio.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcachedaudio.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcacheddocument.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcachedgif.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcachedmpeg4gif.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcachedphoto.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcachedsticker.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcachedvideo.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcachedvoice.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultcontact.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultdocument.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultgame.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultgif.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultlocation.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultmpeg4gif.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultphoto.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultvenue.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultvideo.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inlinequeryresultvoice.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inputcontactmessagecontent.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inputfile.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inputlocationmessagecontent.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inputmedia.rst add support for 3.5 api (#920) 2017-12-08 22:38:59 +01:00
telegram.inputmediaanimation.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.inputmediaaudio.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.inputmediadocument.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.inputmediaphoto.rst add support for 3.5 api (#920) 2017-12-08 22:38:59 +01:00
telegram.inputmediavideo.rst add support for 3.5 api (#920) 2017-12-08 22:38:59 +01:00
telegram.inputmessagecontent.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inputtextmessagecontent.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.inputvenuemessagecontent.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.invoice.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.keyboardbutton.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.labeledprice.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.location.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.loginurl.rst Doc fixes (#1499) 2019-09-13 21:49:04 +03:00
telegram.maskposition.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.message.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.messageentity.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.orderinfo.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.parsemode.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.passportdata.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.passportelementerror.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.passportelementerrordatafield.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.passportelementerrorfile.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.passportelementerrorfiles.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.passportelementerrorfrontside.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.passportelementerrorreverseside.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.passportfile.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.personaldetails.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.photosize.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.poll.rst All api 4.2 and 4.3 changes (#1418) 2019-08-23 22:20:41 +03:00
telegram.polloption.rst All api 4.2 and 4.3 changes (#1418) 2019-08-23 22:20:41 +03:00
telegram.precheckoutquery.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.replykeyboardmarkup.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.replykeyboardremove.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.replymarkup.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.residentialaddress.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.rst Doc fixes (#1499) 2019-09-13 21:49:04 +03:00
telegram.securedata.rst Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
telegram.shippingaddress.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.shippingoption.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.shippingquery.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.sticker.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.stickerset.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.successfulpayment.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.telegramobject.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.update.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.user.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.userprofilephotos.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.utils.helpers.rst add utils.helpers to docs (#828) 2017-09-25 20:56:28 +02:00
telegram.utils.promise.rst Add missing docs utils (#912) 2018-03-05 12:17:56 +01:00
telegram.utils.request.rst Add missing docs utils (#912) 2018-03-05 12:17:56 +01:00
telegram.utils.rst Add missing docs utils (#912) 2018-03-05 12:17:56 +01:00
telegram.venue.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.video.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.videonote.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.voice.rst Docs update (#728) 2017-07-23 23:33:08 +03:00
telegram.webhookinfo.rst Docs update (#728) 2017-07-23 23:33:08 +03:00