Badiboy
48377ac905
Merge pull request #1947 from alex75311/edit_antiflood_method
...
redesigned the antiflood method for guaranteed message delivery
2023-05-08 09:10:28 +03:00
Alexey Isaev
14294d1aa3
redesigned the antiflood method for guaranteed message delivery
2023-05-04 23:08:10 +03:00
Mike Lei
bd69492ed4
Fix documentation for InlineKeyboardMarkup
and quick_markup
2023-03-23 18:52:40 +00:00
Badiboy
5d9a76b0dd
Merge pull request #1917 from S1RANN/master
...
Add a function to extract contents of entities from messages
2023-03-03 11:00:03 +03:00
Badiboy
c9b6d3f868
New content types added + typo fix
2023-02-22 09:49:29 +03:00
orocane
4f2c89c4a8
Add a function to extract contents of entities from messages
2023-02-15 17:24:39 +08:00
Artem Lavrenov
b9bedef73f
Avoid raise RuntimeError(cannot join current thread)
2023-01-28 12:26:25 +03:00
Cub11k
1797f076dc
Remove redundant function
2023-01-16 15:45:59 +02:00
Cub11k
93dcbbeb02
Create method get_media_file_id()
...
Method is used to get file id of different types of media
2023-01-10 19:35:36 +02:00
Konstantin Ostashenko
02ae255701
Revert changes in util.py
2023-01-06 22:39:27 +02:00
Cub11k
c27f60b94b
Make create_dir() method cross-platform instead of POSIX only.
...
Fix for issue #1869
2023-01-06 22:36:08 +02:00
Cub11k
e6f8acadf4
rename _util.py to service_utils.py
2023-01-06 21:41:30 +02:00
Cub11k
c298d95d0f
Move functions, required in types.py to _util.py
...
Add __all__ to util.py for sphinx to generate docs properly
2023-01-06 19:27:25 +02:00
reddere
4ed460b137
Update util.py
2022-12-03 14:23:10 +01:00
reddere
ae20cb9f31
Update util.py
2022-12-03 14:21:31 +01:00
reddere
669c18fdc0
update
...
updated "== None" to "is None" and adjusted the else statement
2022-12-03 14:11:07 +01:00
reddere
34acae9a59
fixing escape()
...
fixing escape() as replacing a None would throw an exception 'NoneType' object has no attribute 'replace'. useful in case of escaping a None string given from message.from_user.last_name as you dont know wether the user has a last name or not
2022-12-03 13:33:22 +01:00
Badiboy
74732f2eda
content_type_media and content_type_service reviewed
2022-11-13 13:20:26 +03:00
orocane
a06b4a1e9c
raise other exceptions in antiflood
2022-09-10 21:46:16 +08:00
orocane
783beb165b
raise other exceptions in antiflood
2022-09-10 15:59:40 +08:00
_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