cafc997df1
🐛 GetChatMembers: Fix unreached code problem
2022-01-19 22:19:02 +08:00
04b783281e
🆙 TL Schema: Update API schemes to layer 137
...
✨ Format compiler.py
2022-01-19 22:19:01 +08:00
Sam
86c81bfff9
Merge branch 'pyrogram:master' into mtpager
2022-01-12 00:28:27 +08:00
Dan
e67fd6efbb
Update Pyrogram to v.1.3.5
2022-01-11 17:25:01 +01:00
Dan
a6299f8401
Use a proper condition check when dealing with flag vectors
...
When reading flag vectors, non-existent vectors are being translated
to [] (empty list). When writing them, the flag condition was
strictly checking for None and an empty list [] would result in an
empty vector being serialized, which should not happen.
Related to #871 .
2022-01-11 17:24:17 +01:00
Sam
6d7f409a88
🐛 Remove extra ID added
2022-01-12 00:11:32 +08:00
Sam
4cdd72657e
Merge branch 'pyrogram:master' into mtpager
2022-01-12 00:10:47 +08:00
Dan
db9489b318
Update Pyrogram to v1.3.4
2022-01-11 16:59:08 +01:00
Dan
527ec23c20
Revert reading non-existent flag vectors from None to []
2022-01-11 16:59:08 +01:00
Sam
52262bcf18
🔰 Add CodeQL scanning
2022-01-11 23:49:53 +08:00
Sam
08ec6528e7
Merge branch 'pyrogram:master' into mtpager
2022-01-11 23:45:20 +08:00
00454e2f7b
🐛 [fix] Change name back to Pyrogram
2022-01-11 23:44:28 +08:00
Dan
14ae9d314b
Update Pyrogram to v1.3.3
2022-01-11 16:44:09 +01:00
Dan
5ec9743a1a
Minor style fix
2022-01-11 16:43:24 +01:00
Danipulok
10c512d39c
Remove unnecessary method call in get_media_group ( #860 )
2022-01-11 16:42:04 +01:00
Sam
de9705f126
Fix core types and compiler ( #871 )
...
- Add missing ID to FutureSalts
- Have vector flags read to None instead of [] for non-existent lists
2022-01-11 16:40:37 +01:00
0436826f27
✨ Dump version to 1.3.3
2022-01-11 22:36:37 +08:00
a2ccdb2378
🔄 Sync local code
2022-01-11 22:35:38 +08:00
ec9e92d6d8
🐛 Fix generate error of vector
...
🐛 Add missing ID in future_salts.py
2022-01-11 22:05:36 +08:00
Dan
c7da4a8495
Update Pyrogram to v1.3.2
2022-01-10 14:32:10 +01:00
Dan
fbdc6613f2
Fix can_send_other_messages permission being inverted
...
Fixes #868
2022-01-10 14:31:17 +01:00
Dan
7fb35fbad5
Update Pyrogram to v1.3.1
2022-01-07 17:06:45 +01:00
SUBIN
1d7c57e669
Add missing parameter protect_content ( #859 )
2022-01-07 17:05:34 +01:00
Lorenzo Delmonte
2ca38d0ee9
Fix typo in OpenCollective link ( #856 )
2022-01-07 12:31:15 +01:00
Dan
cb6cef37e6
Update copyright year
2022-01-07 12:21:24 +01:00
Dan
44228f2472
Update Pyrogram to v1.3.0
2022-01-07 10:26:55 +01:00
Dan
626a1bd938
Update copyright year
2022-01-07 10:23:45 +01:00
Dan
8c8288412f
Various improvements
2022-01-07 10:18:51 +01:00
Dan
80d0966691
Merge branch 'set-chat-protected-content'
2022-01-07 09:51:47 +01:00
Dan
ac3d2b8d7a
Rename methods and add proper docs
2022-01-05 12:50:44 +01:00
Fernando Werneck
b283bce262
Add No Forwards chat option ( #839 )
...
* Add No Forwards chat option
* Fix chat.py
2022-01-05 12:37:25 +01:00
Dan
0a29890da4
Merge branch 'layer-136'
2022-01-03 11:19:15 +01:00
Dan
ebaf1a23fb
Change markdown spoiler delimiter
2022-01-03 11:19:02 +01:00
Dan
f6625192d0
Add parameter protect_content to send_* methods
2022-01-03 11:12:24 +01:00
Dan
fb64e143b6
Add field Message.reactions
2021-12-30 13:46:44 +01:00
Dan
2799011c07
Add type Reaction
2021-12-30 13:46:07 +01:00
Dan
1fa637553d
Add method send_reaction
2021-12-30 13:43:44 +01:00
Dan
b0a9d28bda
Add field Chat.available_reactions
2021-12-30 13:43:44 +01:00
Dan
46d3d8aaf6
Update REACTION_INVALID error message
2021-12-30 13:39:58 +01:00
SUBIN
00c91120d8
Handle the case when default_send_as is None ( #842 )
...
* fix parsing send_as peer.
* Update chat.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-12-30 11:06:37 +01:00
Dan
f7b9137a68
Add support for "spoiler" MessageEntity
2021-12-30 09:14:49 +01:00
Dan
42c690757d
Update API schema to Layer 136
2021-12-30 08:57:02 +01:00
Dan
9c67084170
Merge remote-tracking branch 'origin/master'
2021-12-24 16:29:35 +01:00
Dan
a3fab6af4b
Merge branch 'mtproto-checks'
...
# Conflicts:
# pyrogram/errors/__init__.py
# pyrogram/session/session.py
2021-12-24 16:28:29 +01:00
Udith Amasura
cc4a850134
Make bot_username optional for LoginUrl ( #817 )
...
* make bot username optional
* Update login_url.py
* Update login_url.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-12-23 17:56:22 +01:00
Dan
9a2bc25bc7
Add support for "send_as" chats
...
- Add methods get_send_as_chats() and set_send_as_chat()
- Add field Chat.send_as_chat
2021-12-23 16:53:03 +01:00
Dan
e8076d1b8a
Add method get_discussion_message
2021-12-22 15:00:03 +01:00
Dan
a138b46668
Add Message/Chat.has_protected_content
2021-12-22 14:49:28 +01:00
Dan
2024b3c120
Rename kick(ed) occurrences to ban(ned)
2021-12-22 14:39:52 +01:00
Dan
a909dc12e7
Add support for user profile buttons
2021-12-22 14:36:02 +01:00