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

199 Commits

Author SHA1 Message Date
Badiboy
c6f51f6c55 CopyPaste bugfix 2020-08-04 18:28:35 +03:00
Badiboy
a5fd407eb6 Bugfix and DISABLE_KEYLEN_ERROR
Bugfix and DISABLE_KEYLEN_ERROR to supress keyboard length errors.
2020-08-04 12:29:56 +03:00
Badiboy
cc36207992 Minor keyboard update followup 2020-08-02 18:58:22 +03:00
Mr. Dog
4e5fb59fc0
Replace exceptions with warnings
Also further PIL support added
2020-08-02 20:20:33 +05:00
mrpes
5823ca5613
Minor keyboard code redesign 2020-08-01 01:28:56 +05:00
Badiboy
ce3c91b619
Merge pull request #919 from Badiboy/master
Minor updates in code
2020-07-21 01:27:32 +03:00
Badiboy
dbe9ce49df Minor updates in code 2020-07-21 01:20:01 +03:00
EskiSlav
c533a52e39 Restored necessary comment 2020-07-18 00:25:00 +03:00
EskiSlav
b50eb1bafb Added nested entities from Bot API 4.5 2020-07-17 13:43:45 +03:00
Purya Jafari
49398f5c61
Update types.py
Sending stickers everytime have different file_id, so for detecting special stickers we need a unique parameter.
2020-07-07 01:31:33 +04:30
Kwisatz Haderach
44872ce87d
Complete User Class
Added following fields:
can_join_groups
can_read_all_group_messages
supports_inline_queries
2020-06-22 13:18:13 +02: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
Anthony Byuraev
ee00d0458d Fix some bugs 2020-05-11 22:26:03 +03:00
Anthony Byuraev
a60253bf60 UPG: Add ChatPermissions, set_chat_permissions 2020-05-11 16:38:09 +03:00
Anthony Byuraev
8be9bcc8ed UPG: Add custom_title, slow_mode_delay 2020-05-09 20:28:29 +03:00
Anthony Byuraev
1824637617 UPG: Refactoring InlineKeyboardMarkup 2020-05-09 20:06:33 +03:00
Badiboy
2849e67029 Fix to_dic->to_dict refactoring 2020-05-09 00:51:18 +03:00
Anthony Byuraev
a56fb8cc54 UPG: Add BotCommand, setMyCommands 2020-05-08 21:06:39 +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
dr_forse
51b1fb7695 added Dice and send_dice 2020-04-15 06:10:05 +01:00
Badiboy
dab80d421b Refactoring update 2 2020-04-11 17:38:47 +03:00
Badiboy
247fe6e947 Refactoring bugfix 2020-04-11 17:06:14 +03:00
Badiboy
995814d846 Refactoring and API conformance
Refactoring.

new_chat_member is out of support.

Bugfix in html_text.

Started Bot API conformance checking.
2020-04-11 16:54:25 +03:00
Alexander Tkachev
d2f9c51a5a Handle Poll update 2020-03-09 17:25:54 +07:00
Quantum
dfac26706e
Add is_anonymous flag to Poll type 2020-02-07 12:53:31 +03:00
Badiboy
7adec8bd90
Merge pull request #673 from TahaPY/master
Added Animation and is_animated for stickers
2020-01-03 17:51:53 +03:00
Badiboy
0603a0df4c
Update types.py
Animation is moved before document to save backward compatibility. content_type = 'document' should override content_type = 'animation' to save previous behaviour.
2020-01-03 17:51:05 +03:00
Badiboy
769ff8008e
Merge pull request #599 from KanerL/KanerL-patch-shipping-option
ShippingOption.add_price returns "self" (for chaining etc.).
2020-01-03 01:28:37 +03:00
Badiboy
86644c05f7
Merge pull request #539 from Badiboy/master
"timeout" parameter for send_message
Fix kick_chat_member return type
HTML symbols not replaced
2020-01-03 00:50:24 +03:00
Badiboy
3a3bab5b92
Merge pull request #480 from SkymanOne/patch-1
create field forward_from_message_id in Message
2020-01-03 00:46:27 +03:00
Badiboy
bf844ed202 HTML symbols not replaced
HTML symbols not replaced because return is before replace.
2020-01-01 13:46:18 +03:00
Vadim Ryazanov
f241ef1eac passport_data content type added 2019-08-27 11:55:14 +03:00
Mohammad Taha
8f8276314e
Merge pull request #1 from cmd410/master
Support for animated stickers
2019-08-16 20:42:08 +00:00
cmd410
f0835a1a14 Support for animated stickers 2019-07-30 12:46:39 +03:00
Taha
be3b6f88e8 Added Animation 2019-07-14 18:53:59 +04:30
FrankWang
151880f391
Merge pull request #659 from OslikAi/master
Add Poll
2019-06-28 21:02:23 +08:00
Vova Pytsyuk
600002e158 Fixed bug with LoginUrl 2019-06-15 23:09:59 +03:00
Vova Pytsyuk
3c62e9d391 Added LoginUrl to types 2019-06-15 22:59:41 +03:00
Tiger 1
9624b45314 add Poll, sendPoll, stopPoll 2019-06-06 21:47:08 +03:00
KanerL
ceea457cf1
Update shipping option
Setting list of ShippingOptions like in payments_example.py
shipping_options = [
    ShippingOption(id='instant', title='WorldWide Teleporter').add_price(LabeledPrice('Teleporter', 1000)),
    ShippingOption(id='pickup', title='Local pickup').add_price(LabeledPrice('Pickup', 300))]
gives us [None,None],so It's better add_price to return self
2018-11-12 01:43:00 +02:00
FrankWang
2d6c2a345f
Merge pull request #577 from rmed/master
Add check for parse_mode in BaseInlineQueryResultCached
2018-10-19 10:07:40 +08:00
Rafael Medina
891988be93
Added check for parse_mode in BaseInlineQueryResultCached. Should fix #571 2018-09-15 20:25:06 +02:00
uburuntu
36621bb22a fix: some intendation 2018-08-17 13:01:03 +03:00
uburuntu
6a4c7e731b fix: delete doubled Sticker class (left a new one) 2018-08-17 12:46:40 +03:00
uburuntu
e419214b49 fix: python2 positional argument specifiers 2018-08-14 17:29:35 +03:00
uburuntu
7dd53b1396 fix: support python2 super() 2018-08-14 12:23:15 +03:00
uburuntu
cf69a06ab8 enh: make code better and enhance test case 2018-08-10 16:48:09 +03:00