2015-08-11 21:17:38 +02:00
|
|
|
telegram package
|
|
|
|
================
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.animation
|
|
|
|
telegram.audio
|
|
|
|
telegram.bot
|
2020-04-10 19:22:45 +02:00
|
|
|
telegram.botcommand
|
2021-07-01 17:45:19 +02:00
|
|
|
telegram.botcommandscope
|
|
|
|
telegram.botcommandscopedefault
|
|
|
|
telegram.botcommandscopeallprivatechats
|
|
|
|
telegram.botcommandscopeallgroupchats
|
|
|
|
telegram.botcommandscopeallchatadministrators
|
|
|
|
telegram.botcommandscopechat
|
|
|
|
telegram.botcommandscopechatadministrators
|
|
|
|
telegram.botcommandscopechatmember
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.callbackquery
|
|
|
|
telegram.chat
|
|
|
|
telegram.chataction
|
2021-03-14 16:41:35 +01:00
|
|
|
telegram.chatinvitelink
|
2020-11-29 16:20:46 +01:00
|
|
|
telegram.chatlocation
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.chatmember
|
2021-07-01 17:45:19 +02:00
|
|
|
telegram.chatmemberowner
|
|
|
|
telegram.chatmemberadministrator
|
|
|
|
telegram.chatmembermember
|
|
|
|
telegram.chatmemberrestricted
|
|
|
|
telegram.chatmemberleft
|
|
|
|
telegram.chatmemberbanned
|
2021-03-14 16:41:35 +01:00
|
|
|
telegram.chatmemberupdated
|
2019-09-06 21:41:43 +02:00
|
|
|
telegram.chatpermissions
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.chatphoto
|
|
|
|
telegram.constants
|
|
|
|
telegram.contact
|
2020-04-10 19:22:45 +02:00
|
|
|
telegram.dice
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.document
|
|
|
|
telegram.error
|
|
|
|
telegram.file
|
|
|
|
telegram.forcereply
|
|
|
|
telegram.inlinekeyboardbutton
|
|
|
|
telegram.inlinekeyboardmarkup
|
|
|
|
telegram.inputfile
|
|
|
|
telegram.inputmedia
|
|
|
|
telegram.inputmediaanimation
|
|
|
|
telegram.inputmediaaudio
|
|
|
|
telegram.inputmediadocument
|
|
|
|
telegram.inputmediaphoto
|
|
|
|
telegram.inputmediavideo
|
|
|
|
telegram.keyboardbutton
|
2020-03-29 09:52:30 +02:00
|
|
|
telegram.keyboardbuttonpolltype
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.location
|
2019-09-13 20:49:04 +02:00
|
|
|
telegram.loginurl
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.message
|
2021-03-14 16:41:35 +01:00
|
|
|
telegram.messageautodeletetimerchanged
|
2020-11-29 16:20:46 +01:00
|
|
|
telegram.messageid
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.messageentity
|
|
|
|
telegram.parsemode
|
|
|
|
telegram.photosize
|
2019-08-23 21:20:41 +02:00
|
|
|
telegram.poll
|
2020-03-29 09:52:30 +02:00
|
|
|
telegram.pollanswer
|
2019-08-23 21:20:41 +02:00
|
|
|
telegram.polloption
|
2020-11-29 16:20:46 +01:00
|
|
|
telegram.proximityalerttriggered
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.replykeyboardremove
|
|
|
|
telegram.replykeyboardmarkup
|
|
|
|
telegram.replymarkup
|
|
|
|
telegram.telegramobject
|
|
|
|
telegram.update
|
|
|
|
telegram.user
|
|
|
|
telegram.userprofilephotos
|
|
|
|
telegram.venue
|
|
|
|
telegram.video
|
|
|
|
telegram.videonote
|
|
|
|
telegram.voice
|
2021-03-14 16:41:35 +01:00
|
|
|
telegram.voicechatstarted
|
|
|
|
telegram.voicechatended
|
2021-04-30 10:09:21 +02:00
|
|
|
telegram.voicechatscheduled
|
2021-03-14 16:41:35 +01:00
|
|
|
telegram.voicechatparticipantsinvited
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.webhookinfo
|
2017-07-23 22:33:08 +02:00
|
|
|
|
|
|
|
Stickers
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.sticker
|
|
|
|
telegram.stickerset
|
|
|
|
telegram.maskposition
|
2017-07-23 22:33:08 +02:00
|
|
|
|
|
|
|
Inline Mode
|
|
|
|
-----------
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.inlinequery
|
|
|
|
telegram.inlinequeryresult
|
|
|
|
telegram.inlinequeryresultarticle
|
|
|
|
telegram.inlinequeryresultaudio
|
|
|
|
telegram.inlinequeryresultcachedaudio
|
|
|
|
telegram.inlinequeryresultcacheddocument
|
|
|
|
telegram.inlinequeryresultcachedgif
|
|
|
|
telegram.inlinequeryresultcachedmpeg4gif
|
|
|
|
telegram.inlinequeryresultcachedphoto
|
|
|
|
telegram.inlinequeryresultcachedsticker
|
|
|
|
telegram.inlinequeryresultcachedvideo
|
|
|
|
telegram.inlinequeryresultcachedvoice
|
|
|
|
telegram.inlinequeryresultcontact
|
|
|
|
telegram.inlinequeryresultdocument
|
|
|
|
telegram.inlinequeryresultgame
|
|
|
|
telegram.inlinequeryresultgif
|
|
|
|
telegram.inlinequeryresultlocation
|
|
|
|
telegram.inlinequeryresultmpeg4gif
|
|
|
|
telegram.inlinequeryresultphoto
|
|
|
|
telegram.inlinequeryresultvenue
|
|
|
|
telegram.inlinequeryresultvideo
|
|
|
|
telegram.inlinequeryresultvoice
|
|
|
|
telegram.inputmessagecontent
|
|
|
|
telegram.inputtextmessagecontent
|
|
|
|
telegram.inputlocationmessagecontent
|
|
|
|
telegram.inputvenuemessagecontent
|
|
|
|
telegram.inputcontactmessagecontent
|
2021-04-30 10:09:21 +02:00
|
|
|
telegram.inputinvoicemessagecontent
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.choseninlineresult
|
2017-07-23 22:33:08 +02:00
|
|
|
|
|
|
|
Payments
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.labeledprice
|
|
|
|
telegram.invoice
|
|
|
|
telegram.shippingaddress
|
|
|
|
telegram.orderinfo
|
|
|
|
telegram.shippingoption
|
|
|
|
telegram.successfulpayment
|
|
|
|
telegram.shippingquery
|
|
|
|
telegram.precheckoutquery
|
2017-07-23 22:33:08 +02:00
|
|
|
|
|
|
|
Games
|
|
|
|
-----
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2019-02-18 20:04:52 +01:00
|
|
|
telegram.game
|
|
|
|
telegram.callbackgame
|
|
|
|
telegram.gamehighscore
|
2017-07-23 22:33:08 +02:00
|
|
|
|
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
|
|
|
Passport
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
telegram.passportelementerror
|
|
|
|
telegram.passportelementerrorfile
|
2021-04-30 10:47:41 +02:00
|
|
|
telegram.passportelementerrorfiles
|
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
|
|
|
telegram.passportelementerrorreverseside
|
|
|
|
telegram.passportelementerrorfrontside
|
|
|
|
telegram.passportelementerrordatafield
|
2021-04-30 10:47:41 +02:00
|
|
|
telegram.passportelementerrorselfie
|
|
|
|
telegram.passportelementerrortranslationfile
|
|
|
|
telegram.passportelementerrortranslationfiles
|
|
|
|
telegram.passportelementerrorunspecified
|
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
|
|
|
telegram.credentials
|
|
|
|
telegram.datacredentials
|
|
|
|
telegram.securedata
|
2021-02-19 17:46:52 +01:00
|
|
|
telegram.securevalue
|
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
|
|
|
telegram.filecredentials
|
|
|
|
telegram.iddocumentdata
|
|
|
|
telegram.personaldetails
|
|
|
|
telegram.residentialaddress
|
|
|
|
telegram.passportdata
|
|
|
|
telegram.passportfile
|
|
|
|
telegram.encryptedpassportelement
|
|
|
|
telegram.encryptedcredentials
|
|
|
|
|
2021-04-30 10:47:41 +02:00
|
|
|
utils
|
|
|
|
-----
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
telegram.utils.helpers
|
|
|
|
telegram.utils.promise
|
|
|
|
telegram.utils.request
|
|
|
|
telegram.utils.types
|