_run
62fad9ca3a
Fix tests
2022-02-01 18:16:53 +04:00
_run
124b07ee44
Create __init__.py
2022-01-24 19:08:34 +04:00
Andrea Barbagallo
7fe8d27686
Correct test for antiflood function
2022-01-10 16:19:21 +01:00
Badiboy
9140044956
Tests ant type hint fix
2022-01-10 16:49:49 +03:00
Badiboy
2e6b6bda53
Additional bugfix
...
Additional bugfix
Plus protected methods removal
2022-01-10 16:40:33 +03:00
_run
5a03ab62d0
Update test_types.py
2021-12-07 22:27:19 +05:00
_run
8003ff5e59
Delete states.pkl
2021-11-06 19:51:29 +05:00
_run
8dcfa0c282
Little fix for states
2021-11-06 12:52:41 +05:00
_run
6808ab3ebe
Update test_types.py
2021-11-06 12:42:48 +05:00
_run
31097c5380
Update test_types.py
2021-11-06 12:34:49 +05:00
_run
d49c57699e
Tests
2021-11-06 12:27:19 +05:00
Andrea Barbagallo
558b37b1c3
New antiflood function
2021-11-03 15:30:10 +01:00
Badiboy
484e7fccbd
Merge pull request #1214 from SwissCorePy/master
...
new deprecated decorator
2021-06-30 15:01:46 +03:00
SwissCorePy
791d65e95a
replaced old deprecated decorator
2021-06-30 13:47:39 +02:00
Badiboy
a4e73a05c6
Update file_name to visible_file_name in send_document
2021-06-29 13:30:01 +03:00
Badiboy
30e304ffb5
Merge pull request #1204 from floydya/file-name-patch
...
Allows to set visible document file_name on send.
2021-06-29 13:27:44 +03:00
Vlad Galatskiy
a791ff4e46
Add tests for file sending with name
2021-06-27 11:58:33 +03:00
MAIKS1900
3e33b7f1cb
Bot API 5.3 changes
...
- Personalized Commands for different chats
- Custom Placeholders of input field for ReplyKeyboardMarkup and ForceReply.
2021-06-26 14:36:14 +03:00
SwissCorePy
0370a9f277
Added class ChatMemberUpdated
...
* Added class `ChatMemberUpdated` to types
* Simplified `de_json` functions in `WebhookInfo` and `Update` classes (for overall more consistent code)
* changed `options_ids` to ´option_id` in class `PollAnswer`
* Added test for `ChatMemberUpdated` class in `test_types.py` and added the fields `my_chat_member` and `chat_member` to the `Update` class and its tests
2021-06-19 20:13:53 +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
David256
6c90da793e
New property full_name
2021-04-01 14:56:08 -05:00
Alireza
b684c4f60d
Fix Things on copyMessage
2021-01-12 11:17:53 +03:30
Badiboy
52ebb5a1a7
drop_pending_updates in set_webhook
2021-01-09 21:22:49 +03:00
meoww-bot
698b4371e6
test: Add tests for InlineKeyboardMarkup and ...
...
Add tests for InlineKeyboardMarkup and InlineKeyboardButton
2020-09-02 10:33:32 +08:00
meoww-bot
bdfb793e34
test: Added file_unique_id from Bot API 4.5
2020-08-29 12:07:38 +08:00
Badiboy
bab9b4077d
Bot API support checked/updated up to 4.2
2020-08-25 18:18:51 +03:00
Purya Jafari
d2d7cc39be
Update test_types.py
2020-07-07 03:39:00 +04:30
Purya Jafari
d5e9f73821
Update test_types.py
...
tests updated for pull request #908 .
2020-07-07 02:38:06 +04:30
Badiboy
1494946d02
Update test_telebot.py
...
Build fix.
2020-05-29 12:37:23 +03:00
Badiboy
32dc03ec44
send_chat_permissions fix
2020-05-20 11:57:41 +03:00
oleg
27e2cbc7ea
Remove unnecessary test
2020-05-18 12:22:26 +05:00
oleg
592dcbfedf
Add PollAnswer type;
...
Add poll_answer_handler
2020-05-18 12:05:30 +05:00
oleg
03b02561a5
Add request_poll attribute to KeyboardButton;
...
Add KeyboardButtonPollType object
2020-05-18 11:48:54 +05:00
dr_forse
3de8140c0b
fix test 1
2020-05-12 18:29:36 +01:00
dr_forse
d04e708438
fix test
2020-05-12 18:09:04 +01:00
dr_forse
75a018e18b
add PollAnswer, poll_answer_handler; make User Serializable and Dictionaryble; some pep fixes
2020-05-12 01:09:34 +01:00
Badiboy
ef81868ebc
Fix Deprecation warning due to invalid escape sequences
2020-05-01 11:25:51 +03:00
bedilbek
d7ebaa5bb3
Fix importing dependencies
2020-04-28 00:24:47 +05:00
George Imedashvili
9c87ed3679
fix test
2020-04-27 16:20:30 +01:00
Badiboy
be5d7bb73d
Disable REDIS tests to save Travis
...
To enable REDIS set
test_handler_backeds.REDIS_TEST = True
before running tests.
2020-04-27 17:46:19 +03:00
dr_forse
99c63e9eba
add emoji field for dice
2020-04-27 06:30:05 +01:00
Badiboy
bb4f6a7190
Polls are updated to the latest API state.
...
Polls are updated to the latest API state.
Minor code refactoring.
2020-04-25 22:22:08 +03:00
Badiboy
646bbb8330
Merge pull request #794 from drforse/master
...
Add Dice and send_dice
2020-04-16 15:56:46 +03:00
dr_forse
615402e4f8
return a line as it was
2020-04-15 06:16:07 +01:00
dr_forse
51b1fb7695
added Dice and send_dice
2020-04-15 06:10:05 +01:00
bedilbek
0881e34381
Refactor tests
2020-04-15 01:11:43 +05:00
bedilbek
e7e7c58133
Add Memory, File, Redis Backend tests
2020-04-15 01:11:43 +05:00
bedilbek
932ac9477b
Add ENABLE_MIDDLEWARE=False in apihelpers to keep backward compatibility
2020-04-11 13:02:50 +05:00
bedilbek
1e242f2263
Add Middleware support
2020-04-08 23:13:19 +05:00
Badiboy
b5ba2445d3
Update test_types.py
...
Updated test vectors for stickers.
2020-01-03 19:18:18 +03:00