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
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
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
dr_forse
3de8140c0b
fix test 1
2020-05-12 18:29:36 +01:00
Badiboy
ef81868ebc
Fix Deprecation warning due to invalid escape sequences
2020-05-01 11:25:51 +03:00
dr_forse
99c63e9eba
add emoji field for dice
2020-04-27 06:30:05 +01: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
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
uburuntu
feec1dde56
fix: little style fixes
2018-08-17 12:49:37 +03:00
uburuntu
cf69a06ab8
enh: make code better and enhance test case
2018-08-10 16:48:09 +03:00
uburuntu
8ac6e664c5
new: InputMediaAnimation, InputMediaAudio, InputMediaDocument, editMessageMedia
...
Added support for editing the media content of messages: added the method editMessageMedia and new types InputMediaAnimation, InputMediaAudio, and InputMediaDocument.
2018-08-09 19:16:38 +03:00
eternnoir
373d4d37ff
Fix test case.
2018-04-10 14:48:39 +08:00
heyyyoyy
518c49f23a
fixing formatting of caption in the method send_document
2018-02-16 18:29:29 +03:00
heyyyoyy
2e199a5684
Bot Api 3.6
2018-02-14 20:27:55 +00:00
eternnoir
afac177d7d
Fix missing media_group_id in message.
2018-01-24 19:05:38 +08:00
eternnoir
c300195b49
Add provider_data .
2017-11-29 13:59:47 +08:00
eternnoir
7ac246b801
Fix inline_query_handler not work.
2017-11-15 00:42:27 +08:00
eternnoir
7d37374667
Fix test case.
2017-08-28 12:13:26 +08:00
eternnoir
9134e8dd1a
Add send video note test case.
2017-05-21 19:58:00 +08:00
eternnoir
ffa0ea449b
Fix test case.
2016-10-12 15:52:34 +08:00
eternnoir
88e49bdaef
Update test case.
2016-09-17 07:55:25 +08:00
eternnoir
ea92e8696e
Fix test case.
2016-08-29 20:48:09 +08:00
eternnoir
6da88c9751
FIx #225
2016-08-29 20:21:56 +08:00
eternnoir
fab2f324d0
Fix test case.
2016-06-07 19:34:46 +08:00
eternnoir
9bf4be2caf
fix test case.
2016-06-07 19:32:12 +08:00
eternnoir
0b9f91c6fb
Add new method test case.
2016-06-07 19:16:17 +08:00
eternnoir
ce24aa25f2
Fix #179 .
2016-06-02 13:25:50 +08:00
eternnoir
769bb55bbe
Update test.
2016-05-03 21:05:11 +08:00
eternnoir
0a856f4e83
Fix test case.
2016-04-23 09:29:48 +08:00
eternnoir
4fe4061a0f
All Updating messages methods done.
2016-04-14 15:17:53 +08:00
eternnoir
f873658aac
Fix edit message error.
2016-04-14 15:06:46 +08:00
eternnoir
13327c371a
Add editMessageText.
2016-04-14 15:03:07 +08:00
eternnoir
c1247249c7
Add send venu method.
2016-04-14 13:55:28 +08:00
eternnoir
a6b0e9598c
Add inline keyboard test.
2016-04-14 13:35:18 +08:00
eternnoir
9b9c0287ec
Add test case.
2016-02-27 11:36:53 +08:00
eternnoir
37277d74cc
Fix testing error.
2015-10-12 10:51:29 +08:00
eternnoir
9ee341f5e6
Add Chat test for telebot.
2015-10-12 10:46:20 +08:00
eternnoir
0bd284afc7
Format.
2015-10-12 10:37:41 +08:00
pieter
19b4e35ee5
Attempt to fix failing test case
2015-09-18 21:11:56 +02:00