CyanBook
c8c6faa96e
Change logging hierarchy for loading plugins ( #451 )
...
Loading plugins shouldn't be considered a warning
2020-08-21 07:28:27 +02:00
Dan
b745ce95ed
Remove set_chat/profile_video
2020-07-27 15:03:23 +02:00
Dan
2034a785f4
Add set_profile_video method
2020-07-27 13:00:31 +02:00
Dan
9a8057074b
Allow uploading profile photos using file-like objects
2020-07-26 23:18:26 +02:00
Alisson Lauffer
531069b1e2
Some fixes and speed improvments ( #439 )
...
* Use raw string for re pattern
* Trim trailing whitespaces from docstrings and code
* Use isinstance() instead of type() for typechecking
* Remove unused imports
2020-07-12 06:43:30 +02:00
CyanBook
88e42ecc0d
Update update_profile example ( #395 )
2020-05-04 12:55:10 +02:00
Dan
fd4bd754cc
Add missing update_profile to docs and Client
2020-05-02 21:16:52 +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
kalmengr
cf76945a83
Create a new update_profile method to update a user's own profile ( #277 )
...
* Create a new update_profile method to update a users own profile
* Update update_profile.py
* Update update_profile.py
* Update update_profile.py
* Update update_profile.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2019-12-23 18:44:06 +01:00
Dan
2482358484
Fix delete_profile_photos
2019-09-29 12:53:26 +02:00
Dan
91d3508c13
Rename encode/decode to encode/decode_file_id
2019-09-21 22:17:42 +02:00
ColinShark
9a94c8f0af
Add get_common_chats method ( #303 )
...
* Add get_common_chats method
* Return properly formatted list
* Fix small format and docstring issues
2019-08-16 22:33:06 +02:00
Dan
aa135ea457
Reformat project
2019-08-01 19:11:43 +02:00
Dan
2dec2442e5
Add examples to all available methods
2019-07-25 11:22:14 +02:00
Dan
d119998212
Remove get_user_dc method, add dc_id attribute to User
2019-07-10 20:20:22 +02:00
Dan
6a62d1b8c4
Fix tiny typo: contact -> contacts
2019-07-09 23:51:43 +02:00
Dan
40bcd4e59d
Fix delete_profile_photos. Closes #259
2019-06-26 21:43:08 +02:00
ColinShark
1fd31cac1e
Add convenience methods to block and unblock Users
2019-06-17 14:34:49 +02:00
Dan
93082ce894
Reword get_user_dc docstrings
2019-06-12 13:43:28 +02:00
Dan
4f2928e7b5
Improve get_profile_photos and get_profile_photos_count
2019-06-12 11:37:43 +02:00
Dan
a21858a262
Merge pull request #251 from pyrogram/types-revamp
...
Types revamp
2019-06-12 10:48:10 +02:00
Dan
b9b50bad94
Fix get_users and get_contacts not returning pretty-printable lists
2019-06-11 16:46:10 +02:00
Dan
7baa00353d
Add a FAQ about DC migration
2019-06-11 15:59:39 +02:00
Dan
1ee8487712
Merge branch 'develop' into types-revamp
...
# Conflicts:
# pyrogram/client/methods/users/get_profile_photos.py
2019-06-11 14:45:21 +02:00
Dan
af08606087
Fix get_profile_photos not working when passing "me"/"self" as argument
2019-06-09 13:01:24 +02:00
Dan
cfbc5298df
Remove Messages type
2019-06-08 15:13:52 +02:00
Dan
797de058e8
Remove ProfilePhotos type
2019-06-08 14:09:16 +02:00
Dan
2e05c81a5c
Update docs about Telegram data centers
2019-06-08 11:33:52 +02:00
Dan
da515af959
Rearrange code
2019-06-06 19:29:44 +02:00
Dan
b205c6cce0
Rename Photos to ProfilePhotos
2019-06-06 19:09:52 +02:00
Dan
a984558860
Rename methods dealing with profile pictures
2019-05-31 00:20:09 +02:00
Dan
cb3addab1e
Add iter_profile_photos method
2019-05-31 00:18:43 +02:00
Dan
0340271b33
Refactor docstrings
2019-05-30 15:23:43 +02:00
Dan
38de4299c5
Add get_user_dc method
2019-05-29 09:43:48 +02:00
Dan
09d012b696
Rename get_user_profile_photos to get_user_photos
2019-05-29 09:43:33 +02:00
Dan
86a4f63d37
Rename set_user_profile_photo to set_photo
...
Users can only set a photo for themselves.
2019-05-29 09:42:55 +02:00
Dan
83cd828386
Rename get_user_profile_photos_count to get_user_photos_count
2019-05-29 09:41:59 +02:00
Dan
1390797f58
Rename delete_user_profile_photos to just delete_photos.
...
It's implied an user can only delete own photos.
2019-05-29 09:41:04 +02:00
Dan
87ad981420
Add get_user_dc method
2019-05-27 14:39:10 +02:00
Dan
b6ea451ee5
Reword some method return type docstrings
2019-05-17 13:44:44 +02:00
Dan
ef912d21ef
Use more concise and cleaner description of a method and a type
2019-05-12 19:49:06 +02:00
Dan
e4b0a78f1a
Docs revamp. Part 2
2019-05-10 16:14:10 +02:00
Dan
1737ba5f49
Revamp docs about the main Pyrogram package
2019-05-09 04:28:46 +02:00
Dan
08554633ce
Add get_user_profile_photos_count method
2019-05-06 17:07:41 +02:00
Dan
b5c6db6db0
Refactor project and move errors namespace out from pyrogram.api
2019-03-25 11:23:45 +01:00
Dan
921800f902
Clean up docstrings
2019-03-22 11:53:25 +01:00
Dan
3e18945f3c
Reformat code
2019-03-16 19:23:23 +01:00
Dan
34b51b6481
Force keyword arguments for all TL types
2019-03-16 16:53:52 +01:00
bakatrouble
fda25f6534
Add client.set_username() method ( #208 )
...
* Add client.set_username() method
* Rename set_username() to update_user_username(); allow None as username
* Add client.update_chat_username() method
* Update update_chat_username.py
* Update update_user_username.py
Rename update_user_username to update_username
Add more details in docstrings
Fix style
* Rename update_user_username.py to update_username.py
* Update __init__.py
* Update 400_BAD_REQUEST.tsv
2019-03-01 18:06:17 +01:00