1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
Commit Graph

83 Commits

Author SHA1 Message Date
_run
b0e06253ff Completed docstrings for all files except types.py 2022-07-24 23:14:09 +05:00
Badiboy
a7c420aa14 parse_web_app_data function fix 2022-07-08 11:15:50 +03:00
Badiboy
0aa9f0fb42 Update type fix 2022-07-04 22:26:24 +03:00
Soham Datta
42ce47914d
Fix typo in WebApp() functions 2022-05-30 17:21:33 +05:30
Soham Datta
4401780ba9
Update WebApp() functions
Adjusted function name case to pythonic style.
2022-05-30 17:18:03 +05:30
Soham Datta
82f056e88a
Added WebApp functions
`validate_WebApp_data()` - Use to validate the data received by the WebApp from Telegram.

`parse_WebApp_data()` - Use to parse the data sent to the WebApp from the bot's backend.
2022-05-30 14:52:49 +05:30
coder2020official
d6e93f85f1 Improved the comment for quick_markup 2022-05-21 17:10:57 +05:00
Badiboy
dd25432359 Bot API 6.0. Deprecation fixes 2022-04-23 15:03:54 +03:00
coder2020official
a6477541c0 Documentation incorrect display is fixed now. 2022-03-19 13:49:36 +05:00
coder2020official
dd589e2490 Updated documentation to another theme. 2022-03-07 16:10:44 +05:00
coder2020official
c8fb83c97c Fix documentation 2022-03-07 14:24:28 +05:00
abdullaev388
38bff65caf removed unused imports from util.py 2022-02-20 00:28:27 +05:00
abdullaev388
9b20f41ece I18N class removed from telebot.util.py 2022-02-19 23:57:21 +05:00
abdullaev388
002c608d45 i18n class was added 2022-02-19 15:04:31 +05:00
Badiboy
97dbedaa54
Fix > 2022-02-07 00:57:33 +03:00
Badiboy
ce56a035b5 Extend custom exception_handler behaviour 2022-02-01 23:58:57 +03:00
Badiboy
4166fb229e Code base cleanup 2022-01-24 22:38:35 +03:00
Badiboy
2e6b6bda53 Additional bugfix
Additional bugfix
Plus protected methods removal
2022-01-10 16:40:33 +03:00
Badiboy
8d8aa5a380 Bugfix in send_data
Bugfix in send_data
Protected methods renamed
Some hints added
2022-01-10 14:38:28 +03:00
_run
953e2286b8 Bot API 5.4 2021-11-06 12:15:28 +05:00
Badiboy
2623fa362c
Merge pull request #1350 from Badiboy/master
Custom request sender
2021-11-03 18:50:25 +03:00
Badiboy
4a274ba440 Custom request sender
Added apihelper.CUSTOM_REQUEST_SENDER option. It allows to substitute requests.request to your own function.
2021-11-03 18:48:46 +03:00
Andrea Barbagallo
558b37b1c3 New antiflood function 2021-11-03 15:30:10 +01:00
Badiboy
4ced4d29f5 Update custom filters readme and examples 2021-09-12 19:36:23 +03:00
coder2020official
7d5e9e5111 Added file custom_filters
Added file with custom filters. Updated the examples
2021-09-12 20:22:26 +05:00
coder2020official
5f8c75816e Some useful filters
Created useful filters that can be used in message handlers.
Created some examples on using them.
2021-09-12 19:34:43 +05:00
Badiboy
2da48c0adc Custom filters upd 2021-09-11 21:49:51 +03:00
coder2020official
9d37503442 reupdated 2021-09-11 23:02:56 +05:00
coder2020official
ec8975c9e3 Custom filters
Added new feature - from now you can create your own custom filters
2021-09-11 21:47:59 +05:00
SwissCorePy
07ebdeab25 Added missing content_type "animation" 2021-09-02 19:46:01 +02:00
Florent Gallaire
b4f0a6d546 add Google in the name 2021-08-25 14:17:25 +02:00
Florent Gallaire
4eb28df1ab A Google Cloud Functions webhook 2021-08-24 13:01:10 +02:00
Badiboy
022ef6a64c Dependecies clearing 2021-08-18 22:16:30 +03:00
monosans
097ba9fec2 Replace for loops with comprehensions 2021-07-19 20:03:03 +03:00
SwissCorePy
791d65e95a replaced old deprecated decorator 2021-06-30 13:47:39 +02:00
SwissCorePy
073d7fb6a7 Update util.py
whoops warn is not optional
2021-06-30 13:11:48 +02:00
SwissCorePy
a6668397e1 new deprecated decorator
added a new deprecated decorator to util
2021-06-30 13:08:05 +02:00
SwissCorePy
0bfefdf15d changed allowed_updates in util to update_types
i think its more clear name
2021-06-23 19:57:44 +02:00
SwissCorePy
65cf841015 Update util.py
added `allowed_updates` list (used by `_init_._retrieve_all_updates` because `chat_member` is not requested by default)
2021-06-23 16:09:40 +02:00
SwissCorePy
7118613ef7 Added missing features
* added some missing features of TelegramBotAPI 4.6-5.2 to pyTelegramBotAPI
* added type hints to (almost) all public TeleBot functions
2021-06-21 17:39:13 +02:00
SwissCorePy
795f7fff7f Some small changes
* Fixed type warnings in some editors by changing `var: Type = None` to `var: Union[Type, None] = None`
* changed some args from `obj['arg']` to `obj.get('arg')` if arg is optional
* better PEP-8 compliance for less weak warnings
* added tests for the new type `ChatInviteLink`
2021-06-19 17:59:55 +02:00
SwissCorePy
63fe6e01d1 Fixed the errors from my last PRs
I testet all using pytest and python versions 3.6-3.9 on macOS
2021-06-18 22:35:49 +02:00
SwissCorePy
bbafdd1c1d Some Updates
> Added lot of type hints to types.py
> Added some new fields from TelegramBotAPI to pyTelegramBotAPI
> fixed `circular import error in util.py
> Added functions `log_out` and `close` to __init__.py and apihelper.py
> And some more small changes
2021-06-17 20:28:53 +02:00
Badiboy
74c4ab2f04
Merge pull request #1183 from SwissCorePy/master
Fixed a bug in `user_link`
2021-06-09 17:28:13 +03:00
SwissCorePy
ab05cb0045 Fixed a bug in user_link
`user_link` returned an empty string if `include_id` was set to False
2021-06-09 16:20:42 +02:00
Badiboy
afbc67795a Partial rollback for previous update 2021-06-04 12:11:37 +03:00
SwissCorePy
ed5e5e5077 Update util.py
- Removed function `unix_time`
- Added function `escape`
- Added function `user_link`
- Added function `quick_markup`
- Added some type hints
2021-06-03 19:51:33 +02:00
SwissCorePy
9a6ddce8df Added the function unix_time 2021-06-03 19:06:53 +02:00
SwissCorePy
20030f47af Update util.py
Added the function `smart_split` to split text into meaningful parts.
2021-06-03 18:51:32 +02:00
Badiboy
82838e1d26 Infinity polling fall down fixed 2021-01-14 03:44:37 +03:00