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

53 Commits

Author SHA1 Message Date
eternnoir
2eb914d329 Add message entity to message. 2016-04-14 10:57:18 +08:00
eternnoir
2449a3ea64 Add MessageEntity. 2016-04-14 10:51:05 +08:00
eternnoir
a74ed6e3ab Update some comment. 2016-01-06 16:59:42 +08:00
eternnoir
38eb2ba833 Add comment. 2016-01-06 15:53:35 +08:00
eternnoir
93dc1cd92e Add comment. 2016-01-06 14:31:21 +08:00
eternnoir
b8f251140d Fix thumb_url must have value. 2016-01-05 22:23:00 +08:00
eternnoir
c214f8000e Add InlineQueryResultVideo class. 2016-01-05 11:03:05 +08:00
eternnoir
81a201f19f Add InlineQueryResultMpeg4Gif class. 2016-01-05 10:51:33 +08:00
eternnoir
0f0d76ca82 Add InlineQueryResultGif class. 2016-01-05 10:41:32 +08:00
eternnoir
fa6f16ca5e Add InlineQueryResultPhoto class. 2016-01-05 10:24:21 +08:00
eternnoir
a1267a7670 Add InlineQueryResultArticle class. 2016-01-05 09:57:25 +08:00
eternnoir
e912546680 Add ChosenInlineResult class. 2016-01-04 22:53:08 +08:00
eternnoir
7eeda3bc4d Update update object. 2016-01-04 22:29:04 +08:00
eternnoir
b5680a1c1f Add InlineQuery class. 2016-01-04 22:24:18 +08:00
eternnoir
eeff4e7bf8 Let message all attribute default be None. #100 2015-12-22 14:18:23 +08:00
eternnoir
7346326bc3 Fix video's thumb type forgot de_json. 2015-10-17 02:30:22 +08:00
mabitte
5175803d0b * dict.get(key) returns None if key is not in the dictionary
* used the class method's class reference to instantiate type classes
2015-10-15 16:53:59 +02:00
eternnoir
8e9837a587 Merge branch 'develop' 2015-10-12 22:37:17 +08:00
eternnoir
d8effd3f9f New type Chat supported. 2015-10-12 10:36:58 +08:00
Andy Kluger
9e8b11051c Fix NameError in Python 3 2015-10-08 16:46:15 -04:00
Andy Kluger
b9d458e643 Fix AttributeError on Python 3 2015-10-08 16:39:22 -04:00
pieter
fd1f16598b Added File & getFile, including testing 2015-09-18 20:31:29 +02:00
eternnoir
2d5cb4fd75 Add Update class. 2015-09-05 17:58:53 +08:00
pieter
cf61577e3e Added a string representation (__str__) for JsonDeserializable 2015-09-01 21:55:02 +02:00
pieter
3c8faa155f Created util.py to clean up __init__.py and apihelper.py and updated README accordingly
Fixed failing send_document_by_id and send_photo_by_id
2015-08-31 11:49:03 +02:00
eternnoir
1517979bf2 Voice bug fix. 2015-08-19 18:25:08 +08:00
eternnoir
c3300af656 New audio,voice supported. 2015-08-19 18:08:01 +08:00
Raúl Jornet Calomarde
b25435f29a Replaced mine_type by mime_type 2015-08-08 23:26:47 +02:00
eternnoir
b745088a05 Let thumb option in Sticker. Api chamged. 2015-08-01 09:55:17 +08:00
Sergio Gómez
83ab8a39c9 Fix video type class 2015-07-26 11:19:20 +02:00
eternnoir
6bdc313fa6 Message add forward_from forward_date reply_to_message support. 2015-07-17 14:40:49 +08:00
eternnoir
aeeb94d386 Fix api's document change. 2015-07-15 11:02:30 +08:00
pieter
e061aa051a Fixed API inconsistency (Message.fromUser -> Message.from_user) 2015-07-03 19:34:02 +02:00
eternnoir
cff3f778bf fix content_type bug. 2015-07-03 10:14:42 +08:00
eternnoir
8187e6b8fd Add delete_chat_photo and group_chat_created support. 2015-07-03 09:43:26 +08:00
eternnoir
de88217c37 Support chat action in message. 2015-07-03 09:41:11 +08:00
pieter
21231a3f01 PEP-8 clean-up. 2015-07-02 23:47:05 +02:00
pieter
bc3e2115ac Made Contact implement JsonDeserializable. 2015-07-02 14:12:10 +02: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
13133ac5c6 Implemented command decorator. 2015-07-02 04:17:36 +02:00
pieter
be155afcd8 Deleted last unnecessaty json.dumps 2015-07-02 01:16:17 +02:00
pieter
2f8d1ad4ed PEP 8 clean-up. 2015-07-01 22:34:40 +02:00
pieter
a03769adde Created _make_request and removed check_result in apihelper.py for efficiency and consistency improvements.
Created JsonSerializable (previously Jsonable) and JsonDeserializable.
All relevant classes now subclass JsonDeserializable to eliminate unneeded json -> string -> json conversions.
2015-07-01 22:16:13 +02:00
pieter
b444565b7b Implemented #17 (with some small adjustments) and ForceReply
Changed apihelper#convert_markup
Constructed the Jsonable abstract class. All subclasses must override Jsonable#to_json.
Made ReplyKeyboardHide, ReplyKeyboardMarkup and ForceReply a subclass of Jsonable to make things less complicated in convert_markup.
2015-07-01 18:29:11 +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
pieter
c9adf52236 Extended the ReplyKeyboardMarkup class to allow easy creation of a complex ReplyKeyboardMarkup (so without the hassle of manipulating json strings directly). 2015-06-30 02:00:47 +02:00
eternnoir
8e22bbf180 Message support text, audio, document, photo, sticker, video, location. 2015-06-28 17:19:15 +08:00
eternnoir
b14cf1ecd4 Add TODO to readme. 2015-06-26 21:56:49 +08:00