Commit Graph

153 Commits

Author SHA1 Message Date
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
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
Evgeny Petrov 600c014515 Added missing author_signature field to Message object
`author_signature` field was checked, but never added to `Message` object.
2017-09-22 01:08:54 +03:00
Evgeny Petrov 211f1c607d Bot API 3.3:
- Added the new field pinned_message to the Chat object.
- Added the new fields author_signature and forward_signature to the Message object.
- Added the new field is_bot to the User object.
2017-08-23 10:30:32 +03:00
eternnoir af70313721 New method for v3.2 2017-08-06 14:25:25 +08:00
eternnoir aefd666062 Update sticker set. 2017-08-06 12:00:26 +08:00
eternnoir 0632cfb9b0 Fix new chat members. 2017-07-02 21:24:19 +08:00
eternnoir f97bb2f615 FIx missing declare 2017-07-01 11:05:14 +08:00
Evgeny Petrov 25a37db2bb Bot API v3.1 2017-06-30 19:47:09 +03:00
eternnoir 777a3afaaa Fix #314 2017-05-30 17:18:03 +08:00
eternnoir 639218b3bf New fields gif_duration in InlineQueryResultGif and mpeg4_duration in
InlineQueryResultMpeg4Gif.
2017-05-25 13:27:13 +08:00
eternnoir b2449e64c2 Add pay in inline keyboard btn, 2017-05-25 11:48:16 +08:00
eternnoir 12791e1366 Add payments type to update and message. 2017-05-21 21:52:56 +08:00
eternnoir 5ed333492b All payment type done. 2017-05-21 21:45:12 +08:00
Kylmakalle 3f5596ddce new_chat_members content type and new send_action actions 2017-05-21 14:27:31 +03:00
Kylmakalle 6cda8d052c VideoNote support
Send and recieve round video messages.
Support for send_video_note metod and video_note content type.
2017-05-19 17:19:15 +03:00
i32ropie 35214b1270 Added language code for users 2017-05-18 23:40:10 +02:00
eternnoir 450ef42a83 Fix typo. 2017-04-30 19:40:27 +08:00
FrankWang 1058822f85 Merge pull request #266 from Yolley/patch-1
Added isinstance for bytes to function 'add' in ReplyKeyboardMarkup
2016-12-13 10:02:58 +08:00
Evgeny Petrov 12e7879325 Added max_connections and allowed updates to WebhookInfo 2016-12-12 19:29:57 +03:00
Yolley d14bd9a36b Add isinstance for bytes to function 'add' in ReplyKeyboardMarkup
All explanation is here https://github.com/eternnoir/pyTelegramBotAPI/issues/265
2016-12-06 17:12:28 +03:00
eternnoir 509fae6792 Bug fix. 2016-12-03 15:17:06 +08:00
eternnoir 30ed6e37d3 Add channel_post, edited_channel_post support. 2016-12-03 13:28:22 +08:00
Evgeny Petrov 8c8be81bb9 Added optional forward_from_message_id
And changed `forward_date` to optional (as it should be)
2016-11-21 09:10:51 +03:00
Evgeny Petrov b2cd3c9716 Added channel_post and edited_channel_post to Update object 2016-11-21 09:06:36 +03:00
Evgeny Petrov 1c9a9b9622 hide_keyboard -> remove_keyboard 2016-11-21 08:57:38 +03:00
Evgeny Petrov 1691e84d01 ReplyKeyboardHide -> ReplyKeyboardRemove
Since Telegram changed object name in API docs: https://core.telegram.org/bots/api#replykeyboardremove
2016-11-16 14:18:39 +03:00