wulan17
18ef533405
Pyrofork: Bump version to 2.3.1
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-29 18:05:07 +07:00
wulan17
202176c3b4
Pyrofork: add MessageStory media type
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-29 18:04:42 +07:00
wulan17
c0ca286c04
Pyrofork: add missing has_spoiler parameter to copy_message method #21
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-29 18:04:39 +07:00
wulan17
27346eb50e
Pyrofork: Bump version to 2.3.0
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-20 00:54:30 +07:00
wulan17
5bb4d936cc
PyroFork: set STORED_MSG_IDS_MAX_SIZE to 500
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:47:53 +07:00
wulan17
9df9b25c72
pyrofork: Add spoiler support for copy_message and send_cached_media methods #18
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:43:14 +07:00
wulan17
34fcefe534
Pyrofork: Add get_bot_info and set_bot_info method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:41:08 +07:00
wulan17
654076edd4
PyroFork: Add protect_content and drop_author parameters to forward bound method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:40:59 +07:00
wulan17
42f974321f
PyroFork: Add support to send animation in media group
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:40:46 +07:00
wulan17
b670101dac
Pyrofork: Add Story Support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add Story and StoryViews
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add get_stories method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add StoriesPrivacy
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add send_story method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add edit_story method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add delete_story method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add export_story_link method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add story bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:41 +07:00
wulan17
4cf50e6e04
pyrofork: Add spoiler support for copy_message and send_cached_media methods #18
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:39 +07:00
wulan17
f44c80c1a2
pyrofork: Append message_thread_id to reply bound methods if the message is a topic message
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:38 +07:00
wulan17
6b45a89f2b
Pyrofork: Add channel_shared and user_shared service message types
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:38 +07:00
wulan17
fc406b8286
Pyrofork: Add request_channel parameters to KeyboardButton class
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:37 +07:00
wulan17
4a938a7986
Pyrofork: Add request_chat and request_user parameters to KeyboardButton class
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:35 +07:00
wulan17
58025e9cb6
Pyrofork: Add is_participants_hidden field to Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:35 +07:00
wulan17
51e5586c74
Pyrofork: Add spoiler support when sending animation, photo, and video using file_id #14
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:34 +07:00
wulan17
acb08eb990
PyroFork: Add custom storage support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:33 +07:00
wulan17
c2a506fca0
Pyrofork: add async helper
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:26 +07:00
Animesh Murmu
b43b20351f
Pyrofork: Add Mongodb Session Storage
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Use session name as database name, add some parameters informations and some cleanup (#3 )
Changes to be committed:
modified: pyrogram/client.py
modified: pyrogram/storage/mongo_storage.py
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: storage: mongo: Use existing database connection
support both async_pymongo and motor
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Use Dummy client object to check wether connection object is valid or not
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:37:39 +07:00
wulan17
d91cf7f120
PyroFork: Add Sticker methods and types
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add CreateStickerSet Methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add AddStickerToSet Methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:37 +07:00
wulan17
ea33dc43a4
Pyrofork: Add Forum Topic Support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add ForumTopicCreated, ForumTopicClosed, ForumTopicReopened, ForumTopicEdited service message types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add can_manage_topics fields to ChatPrivileges and ChatPermissions class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add manage_topics parameter to promote_chat_member, restrict_chat_member, and set_chat_permissions methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_{animation,audio,cached_media,contact,dice,document,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice} methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: Add message_thread_id parameter to forward_message() method and forward() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_game() method and copy() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: Add ForumTopic and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add {create,close,reopen,edit,delete}_forum_topic methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to copy_message method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add {CREATED,EDITED,DELETED}_FORUM_TOPIC ChatEvent
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: utils: Check if messages has topics atribut
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: types: Message: Add error handling and is_topic_message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_inline_bot_result()
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: add GeneralTopicHidden and GeneralTopicUnhidden service messages types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: add message_thread_id parameter to send_chat_action
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add CloseGeneralTopic, EditGeneralTopic, ReopenGeneralTopic, HideGeneralTopic. UnhideGeneralTopic, and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add get_forum_topic and get_forum_topic_by_id methods
Signed-off-by: wulan17 <galihgustip@gmail.com>
Pyrofork: Update some methods to layer 160
Signed-off-by: wulan17 <wulan17@nusantararom.org>
pyrofork: Add InputReplyToMessage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: docs: Add missing PeerUser and PeerChannel
and some cleanup
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-08-18 03:30:36 +07:00
wulan17
9e82bd0b57
Pyrofork: Add alt_port parameter to Client
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:28 +07:00
mrmissx
5ba8cc48fc
fix: try to handle startup BadMsgNotification #11
...
Retry to generate a new msg_id to send before raising BadMsgNotification.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:27 +07:00
kvrvgv
02733d90f2
PyroFork: add drop_author parameter to forward_messages method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:26 +07:00
MrMissx
02acefd6e2
Fix AttributeError when received ChatForbidden
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:25 +07:00
reaitten
86621ba836
InputMessageContent.write is a coroutine
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:24 +07:00
Deshdeepak
06c081d171
Add file_name where missing and pass thumb as Union
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:23 +07:00
Devesh Pal
165ade92d5
Add bound method stop() to the Poll object
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:22 +07:00
Alisson Lauffer
c0efd663fd
Make some methods static
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:21 +07:00
wulan17
9d9b8dcac8
PyroFork: Add usernames field to User
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:20 +07:00
wulan17
73c1c179d0
PyroFork: Add usernames field to Chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:16 +07:00
Alisson Lauffer
244ad93229
Add full_name property to User and Chat objects
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:28:59 +07:00
kkwilllo
dab2ab311b
add min & max id support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:28:58 +07:00
wulan17
367be6f6eb
Pyrofork: Add chat_joined_by_request
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:28:52 +07:00
wulan17
7a1684f074
PyroFork: rebrand
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 01:35:50 +07:00
Dan
efac17198b
Update Pyrogram to v2.0.106
2023-04-30 20:24:00 +02:00
Dan
2ff67c72aa
Move the CDN DC IPv6 to the correct mapping
2023-04-30 20:23:42 +02:00
Dan
d9d68529aa
Update Pyrogram to v2.0.105
2023-04-30 19:55:05 +02:00
Dan
e24d5b1cf5
Add RSA public keys & IP addresses for some CDN DCs
2023-04-30 19:54:39 +02:00
Dan
cea21ad6d0
Update Pyrogram to v2.0.104
2023-04-21 14:56:56 +02:00
Dan
68c7bd6e12
Update Pyrogram to v2.0.103
2023-04-03 16:29:32 +02:00
Dan
abed55aea9
Update Pyrogram to v2.0.102
2023-03-12 17:52:37 +01:00
Dan
0a90d54010
Separate cases between Channel and ChannelForbidden
2023-03-12 17:52:03 +01:00
Dan
fb3f9acc18
Update Pyrogram to v2.0.101
2023-03-11 16:45:56 +01:00
Dan
a3a4a0204c
Update chat username parsing in case of multiple usernames
2023-03-11 16:45:32 +01:00
Dan
d6476ce57e
Update Pyrogram to v2.0.100
2023-02-26 11:09:21 +01:00
Dan
787eabd940
Update send_inline_bot_result return type hint
2023-02-26 11:08:27 +01:00
Dan
96ffc7efcd
Update Pyrogram to v2.0.99
2023-02-11 10:09:03 +01:00
Jins Mathew
2e82fcecff
Add missing has_spoiler parameter to reply_{animation,photo,video}
2023-02-11 10:08:29 +01:00