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

178 Commits

Author SHA1 Message Date
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
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
heyyyoyy
5035e0ce80 Added parse mode for objects in Inline mode 2018-08-02 21:15:33 +03:00
Badiboy
9c79ba2f87 html_text fix and html_caption
html_text now works with text_link
html_caption now works for caption/caption_entities
2018-05-14 13:29:34 +03:00
FrankWang
5a102ed8fa
Merge pull request #492 from sviat9440/master
Bugfixes (message.html_text offset)
2018-05-04 07:19:28 +08:00
eternnoir
91f213ff34 Fix #501 2018-04-27 15:47:03 +08:00
sviat9440
ffe3a0c3d7 Update types.py
-- Fix encoding bug (emoji shifted offset)
2018-04-15 19:19:29 +03:00
sviat9440
36d088dfbf Bugfixes and minor improvements 2018-04-04 10:47:37 +03:00
sviat9440
0422e62f65
Update types.py
Fix
2018-03-21 10:45:34 +03:00
sviat9440
82e252ec46
Update types.py
Fix
2018-03-21 10:44:37 +03:00
sviat9440
c11a9f810c
Update types.py
Added 'json' property to class 'Message', to quickly save a message to the database
2018-03-21 07:35:42 +03:00
German
d17d28a144
create field forward_from_message_id in Message
https://core.telegram.org/bots/api#message
2018-03-20 23:36:29 +03:00
heyyyoyy
2e199a5684 Bot Api 3.6 2018-02-14 20:27:55 +00:00
FrankWang
55302cb972
Merge pull request #445 from heyyyoyy/update_send_media_group
Added support for local files in the sendMediaGroup method
2018-02-01 19:24:50 +08:00
eternnoir
afac177d7d Fix missing media_group_id in message. 2018-01-24 19:05:38 +08:00
heyyyoyy
2637e29dbe Updated sendMediaGroup method 2018-01-15 16:08:50 +03:00
eternnoir
b2f376a906 Remove debug message. Add content_type 2017-11-30 23:34:07 +08:00
eternnoir
8528ca9e4e Add some message content type. Fix #426 2017-11-29 13:48:34 +08:00
eternnoir
e1a3ccadb7 Add sendMediaGroup method. 2017-11-29 13:45:25 +08:00
eternnoir
8bdbc24014 Fix ShippingOption to_json. #414 2017-11-13 10:25:39 +08:00
eternnoir
3986f33d3a Fix caption_entities without default value. 2017-11-06 08:42:57 +08:00
Evgeny Petrov
5f8d99664e Bot API 3.4: new methods for live locations, new objects. 2017-10-22 19:50:51 +03:00