Commit Graph

52 Commits

Author SHA1 Message Date
coder2020official ecb5d9b4f6 Added tests for __html_text, fixed the bug, added custom_emoji for entities 2023-04-22 22:53:57 +04:00
coder2020official be69feb252 * Added a test for message entity __html_text function. #1971 should be fixed and then todo can be done. 2023-04-22 20:38:05 +04:00
coder2020official 9d2f7c02a4 Fixing tests attempt 1 2023-03-11 23:54:57 +04:00
_run 737c3a439d Fix tests(1st attempt) 2022-08-12 22:13:54 +05:00
coder2020official a7fb8a2bec Implemented some tests 2022-06-21 15:28:01 +05:00
coder2020official a1bf961fd2 Bump Bot API 6.0(Beta) 2022-04-17 16:39:09 +05:00
_run 62fad9ca3a Fix tests 2022-02-01 18:16:53 +04:00
_run 5a03ab62d0 Update test_types.py 2021-12-07 22:27:19 +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
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
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
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 75a018e18b add PollAnswer, poll_answer_handler; make User Serializable and Dictionaryble; some pep fixes 2020-05-12 01:09:34 +01:00
George Imedashvili 9c87ed3679
fix test 2020-04-27 16:20:30 +01: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
dr_forse 51b1fb7695 added Dice and send_dice 2020-04-15 06:10:05 +01:00
Badiboy b5ba2445d3 Update test_types.py
Updated test vectors for stickers.
2020-01-03 19:18:18 +03:00
uburuntu 36621bb22a fix: some intendation 2018-08-17 13:01:03 +03:00
uburuntu feec1dde56 fix: little style fixes 2018-08-17 12:49:37 +03:00
eternnoir 7d37374667 Fix test case. 2017-08-28 12:13:26 +08:00
eternnoir d87e0821c9 Fix type test. 2016-04-14 17:45:57 +08:00
eternnoir a6d35fd1de Add all inquery types. 2016-04-14 17:09:12 +08:00
eternnoir 361c043872 Fix test data error. 2015-10-12 11:02:10 +08:00
eternnoir 50432dbef1 Fix test data error. 2015-10-12 10:54:33 +08:00
eternnoir 37277d74cc Fix testing error. 2015-10-12 10:51:29 +08:00
eternnoir 4ffdada427 Add Chat json test. 2015-10-12 10:37:25 +08:00
eternnoir f7c4b14b77 Add types test. 2015-09-05 18:02:28 +08:00
eternnoir 1517979bf2 Voice bug fix. 2015-08-19 18:25:08 +08:00
eternnoir 571a0fb320 Fix test case error. 2015-08-19 18:13:40 +08:00
eternnoir c3300af656 New audio,voice supported. 2015-08-19 18:08:01 +08:00
eternnoir b745088a05 Let thumb option in Sticker. Api chamged. 2015-08-01 09:55:17 +08:00
eternnoir b316e699e1 Fix failed testcase. 2015-07-04 17:27:53 +08:00
pieter 36ba21643b Resolve merge conflicts. 2015-07-02 13:54:45 +02:00
eternnoir 1fdf8bd570 Message support contact. 2015-07-02 11:19:38 +08:00
pieter 2f8d1ad4ed PEP 8 clean-up. 2015-07-01 22:34:40 +02:00
pieter 759474924d Implemented getUserProfilePhotos (Though I do not see the use of it currently, because bots cannot download photos with the API) 2015-06-30 16:40:44 +02:00
pieter af02000534 PEP 8 & IntelliJ code clean-up. 2015-06-30 05:54:04 +02:00
eternnoir 891b66b3cc Add some message parse test. 2015-06-28 17:20:11 +08:00
eternnoir ca1545905b Add Group Message deJson test. 2015-06-26 22:22:18 +08:00