Commit Graph

28 Commits

Author SHA1 Message Date
Dan
746a6eb477 Add support for Dice objects
- add send_dice
- add Dice class
2020-03-30 14:38:57 +02:00
Dan
1996fb1481 Update Copyright 2020-03-21 15:43:32 +01:00
Dan
42c9bafa0c Update copyright notice 2020-02-01 14:04:33 +01:00
Dan
091552e5d9 [Bot API 4.4] Update stickers
- Add is_animated field to Sticker
- Remove send_animated_sticker (use send_sticker instead)
- Default to 512x512 in case size is unknown (instead of 0x0)
2019-08-03 18:38:58 +02:00
Dan
61ed44ff5f Add edit_inline_* methods to deal with inline messages only 2019-06-14 04:52:05 +02:00
Dan
a425e00a96 Add read_history method 2019-06-04 19:16:30 +02:00
Dan
1f2be4f1ce Add send_animated_sticker method 2019-06-01 14:05:25 +02:00
Dan
e80eebc234 Add get_history_count method 2019-05-06 16:44:50 +02:00
Dan
4661fb035b Refactor Poll types and methods to reflect Bot API 4.2 docs 2019-04-14 20:17:42 +02:00
Dan
b3ef53a29a Add send_cached_media method 2019-03-11 21:26:07 +01:00
Dan
ee472329a2 Move get_game_high_scores method into bots folder 2019-01-07 22:35:17 +01:00
Dan
633fefe178 Add get_game_high_scores method 2019-01-07 22:28:41 +01:00
Dan
9771be9c2a Add send_game and set_game_score methods 2019-01-07 21:49:58 +01:00
Dan
a50dba2b4c Add close_poll method 2019-01-05 14:44:10 +01:00
Dan
8628d3a56d Add iter_history method
For #170
2019-01-04 15:37:08 +01:00
Dan
4d7b1bafac Update copyright year 2019-01-01 12:36:16 +01:00
Dan
5dcc19cfb3 Move download_media into messages and media namespace 2018-12-28 15:18:01 +01:00
Dan
03aa5094f7 Add retract_vote method 2018-12-23 17:00:51 +01:00
Dan
1f82eaa26f Add vote_poll method 2018-12-23 17:00:51 +01:00
Dan
e669a6a9ae Add send_poll method 2018-12-23 00:33:15 +01:00
Dan
2d8792a7cd Move get_dialogs() from "messages" to "chats" namespace 2018-08-20 11:24:47 +02:00
Dan
4b7e22aedd Rename file 2018-08-07 01:25:34 +02:00
Dan
2b793dd2a1 Refactor send_gif. It is now called send_animation 2018-08-07 01:23:52 +02:00
Dan
e7b27c2c21 Expose edit_message_media method 2018-08-02 01:12:31 +02:00
Dan
9ac6633cc8 Add get_dialogs method 2018-07-04 21:05:43 +02:00
Dan
8074ef1368 Make methods directory structure simple 2018-06-23 10:34:20 +02:00
Dan
8cc7cdba9a Remove text submodule 2018-05-09 13:08:16 +02:00
Dan
8454d438be Refactor the project by using Mixin classes
This will cut client.py down from ~4k to ~1k SLOC and also
makes the whole project tidier and more organized.
2018-05-07 14:30:55 +02:00