Commit Graph

1358 Commits

Author SHA1 Message Date
Dan
eb8513e009
Update send_video docstrings
Add a more detailed "thumb" description
2018-09-12 08:26:13 +02:00
Dan
b49190256d
Merge pull request #111 from zeroone2numeral2/develop
Allow to set audio thumbnail when using send_audio
2018-09-12 08:15:37 +02:00
Dan
6a4bf23b09
Update send_audio docstrings 2018-09-12 08:14:49 +02:00
Dan
ba6147259e
Merge pull request #114 from moelius/feature/fix-decode-bad-messages
Fixed decode error in `api.core.primitives.string.py`
2018-09-12 07:45:14 +02:00
Dan
b1aff3ca5e
Small style fixes
"double quotes"
2018-09-12 07:44:49 +02:00
Konstantin Klimov
392f0070fb Fixed decode error in api.core.primitives.string.py 2018-09-04 08:25:56 +03:00
Dan
b619818c40
Clear recv_queue on session stop. Fixes #103 2018-09-03 16:35:22 +02:00
zeroone2numeral2
d5ca99dfff Allow to set audio thumbnail when using send_audio
With the Bot API 4.0 update (https://core.telegram.org/bots/api#july-26-2018), sendAudio allows bots to pass a thumbnail - making it possible for pyrogram to include a 'thumb' parameter in its convenience method 'send_audio'
2018-08-30 11:50:09 +02:00
Dan
b77771497d Document get_chat_members 2018-07-17 09:09:04 +02:00
Dan
f1bb20ebf6 Add the new methods to docs 2018-07-16 00:18:46 +02:00
Dan
5b89a65437 Document set_chat_title 2018-07-15 16:34:47 +02:00
Dan
3fe05b4d28 Document set_chat_photo 2018-07-15 16:34:32 +02:00
Dan
3fcf9b9ef6 Document delete_chat_photo 2018-07-15 16:34:15 +02:00
Dan
98578160f0 Document set_chat_description 2018-07-15 16:33:41 +02:00
Dan
15e83e12ca Document unpin_chat_message 2018-07-15 16:33:12 +02:00
Dan
f8d44b8e77 Document pin_chat_message 2018-07-14 00:44:50 +02:00
Dan
84e7bb5c50 Clean up MessageEntity comments 2018-07-14 00:43:28 +02:00
Dan
85e3c05216 Document Dialogs 2018-07-13 01:10:33 +02:00
Dan
5c34e3f08f Clean up Messages comments 2018-07-12 14:58:18 +02:00
Dan
82d4a99fd5 Add docstrings for Dialog type 2018-07-12 14:58:01 +02:00
Dan
fa512a690d Add download() bound method to Message 2018-07-12 14:17:30 +02:00
Dan
bee8d1340b Clean up Sticker, Venue and Video comments 2018-07-12 14:16:29 +02:00
Dan
109e3836cf Clean up Photo and PhotoSize docstrings 2018-07-12 14:16:08 +02:00
Dan
62f575d53f Clean up GIF and Location comments 2018-07-12 14:14:19 +02:00
Dan
5d9e2f7d7a Clean up Document docstrings 2018-07-12 14:13:51 +02:00
Dan
72eb7e7a33 Add missing vcard argument on Contact 2018-07-12 14:13:35 +02:00
Dan
1e727fbb43 Add extra attributes to User
is_self, is_contact, is_mutual_contact and is_deleted
2018-07-12 00:54:13 +02:00
Dan
8289dff05f Update download_media docstrings 2018-07-12 00:31:33 +02:00
Dan
a9a9dc3cd3 Make download_media raise ValueError in case of non-media messages 2018-07-12 00:24:57 +02:00
Dan
f242aceb31 Add vCard support for contacts 2018-07-12 00:10:33 +02:00
Dan
b6a4dee787 Fix some User weird docstrings 2018-07-11 23:54:54 +02:00
Dan
e89d56e058 Add cashtag message entity 2018-07-11 23:54:11 +02:00
Dan
fade921ac0 Don't document client, is for internal purposes only 2018-07-11 18:05:36 +02:00
Dan
12ef2f8ca2 Fix video notes not having a file_name anymore 2018-07-11 17:48:18 +02:00
Dan
00e170feea Video notes don't have a file_name 2018-07-11 17:40:33 +02:00
Dan
9214416f7c Parse Voice waveform 2018-07-11 17:36:58 +02:00
Dan
7509566796 Remove Voice thumb and file_name. Add waveform 2018-07-11 17:36:49 +02:00
Dan
5347080fd1 Clean Audio comments 2018-07-11 17:26:59 +02:00
Dan
ad9fb26808 Cleaner Chat docstrings 2018-07-11 17:25:39 +02:00
Dan
f7b661a6c4 Add API_ID_PUBLISHED_FLOOD 2018-07-11 17:09:52 +02:00
Dan
0c96fa8b7c Don't flush each chunk. Let python/os deal with it 2018-07-11 17:05:33 +02:00
Dan
68ea889824 Add REG_ID_GENERATE_FAILED error 2018-07-11 17:05:07 +02:00
Dan
ab11c9e347 Add missing docstring arguments 2018-07-10 15:57:27 +02:00
Dan
31f41fae18 Add USER_NOT_MUTUAL_CONTACT and USER_CHANNELS_TOO_MUCH errors 2018-07-09 23:47:29 +02:00
Dan
037ded73c3 Add unpin_chat_message method 2018-07-08 11:09:07 +02:00
Dan
486e8b9552 Add pin_chat_message method 2018-07-08 11:00:56 +02:00
Dan
7d799aed11 Add set_chat_description method 2018-07-08 10:28:54 +02:00
Dan
393caa9d7c Add set_chat_title method 2018-07-08 10:24:39 +02:00
Dan
17ca6b7094 Add delete_chat_photo method 2018-07-08 10:19:16 +02:00
Dan
cb4996d64b Reformat code 2018-07-08 10:18:48 +02:00