Commit Graph

1969 Commits

Author SHA1 Message Date
Dan
52b9319734 Refactor CallbackQuery 2018-12-17 13:01:41 +01:00
Dan
92118e3608 Reformat __init__ parameters 2018-12-17 12:45:35 +01:00
Dan
e9a362923f Cache stickers 2018-12-17 12:42:29 +01:00
Dan
ac8258f451 Move Str into message.py 2018-12-17 12:40:32 +01:00
Dan
c6a0bf0791 Force named arguments on Pyrogram types 2018-12-16 22:34:23 +01:00
Dan
7430529646 Make use of the refactored Chat type in get_chat 2018-12-16 17:59:34 +01:00
Dan
5d64de10dc Add Chat.parse_full 2018-12-16 17:58:32 +01:00
Dan
31b046e5cc Use the refactored types in get_chat_member(s) 2018-12-16 17:58:05 +01:00
Dan
66cd896a99 Allow passing raw 2018-12-16 17:10:55 +01:00
Dan
cffafa8c61 Small fixed to PyrogramType 2018-12-16 17:10:08 +01:00
Dan
d62bc1d8ba Refactor ChatMember and ChatMembers 2018-12-16 16:22:46 +01:00
Dan
3ecbb35470 Delete Update 2018-12-16 15:26:56 +01:00
Dan
7a8873029d Don't parse custom types in the code generator 2018-12-16 15:25:56 +01:00
Dan
6ab1c87050 Add PyrogramType 2018-12-16 15:24:51 +01:00
Dan
5ecbfbf25f Refactor Message and MessageEntity 2018-12-16 14:30:44 +01:00
Dan
334fb8d0ba Refactor Sticker, Contact and Document 2018-12-16 14:30:13 +01:00
Dan
c84fca30a2 Refactor Venue and Location 2018-12-16 14:29:10 +01:00
Dan
e5e0b17809 Refactor Photo and PhotoSize 2018-12-16 14:28:41 +01:00
Dan
11ed26b318 Refactor Animation, Video and VideoNote 2018-12-16 14:27:52 +01:00
Dan
905f4b8e62 Refactor Voice and Audio 2018-12-16 14:25:18 +01:00
Dan
efc6023b08 Re-implement remove_cloud_password using SRP 2018-12-15 20:08:31 +01:00
Dan
1c4dd13e72 Refactor Chat 2018-12-15 17:31:22 +01:00
Dan
5962f8dedc Refactor ChatPhoto 2018-12-15 17:30:24 +01:00
Dan
bf3609ec0a Refactor User 2018-12-15 17:29:51 +01:00
Dan
0d0fbdad27 Reformat UserStatus style 2018-12-15 17:28:52 +01:00
Dan
26b15f384d Update UserStatus docs 2018-12-15 17:26:24 +01:00
Dan
b2f3e79ff7 Refactor UserStatus 2018-12-15 17:25:34 +01:00
Dan
9ac492e644 Remove Message generated comments 2018-12-15 15:32:50 +01:00
Dan
37d063e569 Reorganize Message __init__ 2018-12-15 12:35:09 +01:00
Dan
40ecc082a6 Re-implement change_cloud_password using SRP 2018-12-15 12:22:33 +01:00
Dan
1bd41d0138 Fix CallbackQuery docs 2018-12-15 11:37:27 +01:00
Dan
47b25b0e2d CallbackQuery must deal with bytes instead of strings 2018-12-15 11:36:16 +01:00
Dan
70470360b1 Print account name when logging in the first time 2018-12-15 11:10:25 +01:00
Dan
afb3f55d33 Add USER_ADMIN_INVALID error 2018-12-15 11:10:03 +01:00
Dan
001a067d82 Make start and stop methods return self to make chaining possible
Suggestion by @CharlesBachman in Telegram
2018-12-15 09:50:35 +01:00
Dan
6a9c7312cc Document how decorated functions are modified 2018-12-15 09:10:19 +01:00
Dan
e3459017ef Re-implement enable_cloud_password using SRP 2018-12-15 09:05:50 +01:00
Dan
89983b75ca Move relevant SRP-related code into another file
These functions are going to be used by all *_cloud_password methods
2018-12-15 08:59:26 +01:00
Dan
2ae8730b22 Add Filters.via_bot to filter messages sent via inline bots 2018-12-15 08:53:22 +01:00
Dan
4ba5e63034 Report offset instead of 0 in case file size is missing (for file_id) 2018-12-15 08:51:20 +01:00
Dan
9c91720104 Fix broken download_media progress args 2018-12-15 08:50:08 +01:00
Dan
49b18c600d Add missing thumb for videos in albums. Fixes #169 2018-12-15 08:39:43 +01:00
Dan
067b988537 Update 400 Bad Request errors 2018-12-15 08:33:27 +01:00
Dan
c9ce95c964 Add 500 RANDOM_ID_DUPLICATE error 2018-12-15 08:14:04 +01:00
Dan
0e050b45e7 Attempt srp 2018-12-15 08:06:18 +01:00
Dan
85519f9caf Merge branch 'develop' into layer-85 2018-12-13 15:13:24 +01:00
Dan
61b36898a4 Fix chat username and session name 2018-12-10 15:19:54 +01:00
Dan
6d2d34617a Merge remote-tracking branch 'origin/develop' into develop 2018-12-10 15:15:50 +01:00
Dan
19ad70455f Update welcome_bot.py example
Delete the previous message in case of consecutive member joins and
send a new one containing the names of all the previous new members
2018-12-10 15:15:21 +01:00
Dan
2a9149ca5f
Merge pull request #166 from zeroone2numeral2/webpage-message-attribute
Added Message.web_page and Filters.web_page
2018-12-08 16:43:48 +01:00