mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-20 14:09:04 +01:00
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> |
||
---|---|---|
.. | ||
_static | ||
conf.py | ||
index.rst | ||
ptb-logo-orange.ico | ||
ptb-logo-orange.png | ||
ptb-logo_1024.png | ||
telegram.animation.rst | ||
telegram.audio.rst | ||
telegram.bot.rst | ||
telegram.callbackgame.rst | ||
telegram.callbackquery.rst | ||
telegram.chat.rst | ||
telegram.chataction.rst | ||
telegram.chatmember.rst | ||
telegram.chatphoto.rst | ||
telegram.choseninlineresult.rst | ||
telegram.constants.rst | ||
telegram.contact.rst | ||
telegram.credentials.rst | ||
telegram.datacredentials.rst | ||
telegram.document.rst | ||
telegram.encryptedcredentials.rst | ||
telegram.encryptedpassportelement.rst | ||
telegram.error.rst | ||
telegram.ext.callbackqueryhandler.rst | ||
telegram.ext.choseninlineresulthandler.rst | ||
telegram.ext.commandhandler.rst | ||
telegram.ext.conversationhandler.rst | ||
telegram.ext.delayqueue.rst | ||
telegram.ext.dispatcher.rst | ||
telegram.ext.filters.rst | ||
telegram.ext.handler.rst | ||
telegram.ext.inlinequeryhandler.rst | ||
telegram.ext.job.rst | ||
telegram.ext.jobqueue.rst | ||
telegram.ext.messagehandler.rst | ||
telegram.ext.messagequeue.rst | ||
telegram.ext.precheckoutqueryhandler.rst | ||
telegram.ext.regexhandler.rst | ||
telegram.ext.rst | ||
telegram.ext.shippingqueryhandler.rst | ||
telegram.ext.stringcommandhandler.rst | ||
telegram.ext.stringregexhandler.rst | ||
telegram.ext.typehandler.rst | ||
telegram.ext.updater.rst | ||
telegram.file.rst | ||
telegram.filecredentials.rst | ||
telegram.forcereply.rst | ||
telegram.game.rst | ||
telegram.gamehighscore.rst | ||
telegram.iddocumentdata.rst | ||
telegram.inlinekeyboardbutton.rst | ||
telegram.inlinekeyboardmarkup.rst | ||
telegram.inlinequery.rst | ||
telegram.inlinequeryresult.rst | ||
telegram.inlinequeryresultarticle.rst | ||
telegram.inlinequeryresultaudio.rst | ||
telegram.inlinequeryresultcachedaudio.rst | ||
telegram.inlinequeryresultcacheddocument.rst | ||
telegram.inlinequeryresultcachedgif.rst | ||
telegram.inlinequeryresultcachedmpeg4gif.rst | ||
telegram.inlinequeryresultcachedphoto.rst | ||
telegram.inlinequeryresultcachedsticker.rst | ||
telegram.inlinequeryresultcachedvideo.rst | ||
telegram.inlinequeryresultcachedvoice.rst | ||
telegram.inlinequeryresultcontact.rst | ||
telegram.inlinequeryresultdocument.rst | ||
telegram.inlinequeryresultgame.rst | ||
telegram.inlinequeryresultgif.rst | ||
telegram.inlinequeryresultlocation.rst | ||
telegram.inlinequeryresultmpeg4gif.rst | ||
telegram.inlinequeryresultphoto.rst | ||
telegram.inlinequeryresultvenue.rst | ||
telegram.inlinequeryresultvideo.rst | ||
telegram.inlinequeryresultvoice.rst | ||
telegram.inputcontactmessagecontent.rst | ||
telegram.inputfile.rst | ||
telegram.inputlocationmessagecontent.rst | ||
telegram.inputmedia.rst | ||
telegram.inputmediaanimation.rst | ||
telegram.inputmediaaudio.rst | ||
telegram.inputmediadocument.rst | ||
telegram.inputmediaphoto.rst | ||
telegram.inputmediavideo.rst | ||
telegram.inputmessagecontent.rst | ||
telegram.inputtextmessagecontent.rst | ||
telegram.inputvenuemessagecontent.rst | ||
telegram.invoice.rst | ||
telegram.keyboardbutton.rst | ||
telegram.labeledprice.rst | ||
telegram.location.rst | ||
telegram.maskposition.rst | ||
telegram.message.rst | ||
telegram.messageentity.rst | ||
telegram.orderinfo.rst | ||
telegram.parsemode.rst | ||
telegram.passportdata.rst | ||
telegram.passportelementerror.rst | ||
telegram.passportelementerrordatafield.rst | ||
telegram.passportelementerrorfile.rst | ||
telegram.passportelementerrorfiles.rst | ||
telegram.passportelementerrorfrontside.rst | ||
telegram.passportelementerrorreverseside.rst | ||
telegram.passportfile.rst | ||
telegram.personaldetails.rst | ||
telegram.photosize.rst | ||
telegram.precheckoutquery.rst | ||
telegram.replykeyboardmarkup.rst | ||
telegram.replykeyboardremove.rst | ||
telegram.replymarkup.rst | ||
telegram.residentialaddress.rst | ||
telegram.rst | ||
telegram.securedata.rst | ||
telegram.shippingaddress.rst | ||
telegram.shippingoption.rst | ||
telegram.shippingquery.rst | ||
telegram.sticker.rst | ||
telegram.stickerset.rst | ||
telegram.successfulpayment.rst | ||
telegram.telegramobject.rst | ||
telegram.update.rst | ||
telegram.user.rst | ||
telegram.userprofilephotos.rst | ||
telegram.utils.helpers.rst | ||
telegram.utils.promise.rst | ||
telegram.utils.request.rst | ||
telegram.utils.rst | ||
telegram.venue.rst | ||
telegram.video.rst | ||
telegram.videonote.rst | ||
telegram.voice.rst | ||
telegram.webhookinfo.rst |