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
eternnoir
77948dd027
get updates and polling done.
2015-06-26 18:02:30 +08:00
eternnoir
518fed5bc1
Add User json convert.
2015-06-26 15:15:30 +08:00
eternnoir
9c3886f332
First Init.
2015-06-26 14:55:13 +08:00