Skip to content

Commit cc8f024

Browse files
authored
(fix): AttributeError: 'NoneType' object has no attribute
1 parent 49b4ba1 commit cc8f024

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyrogram/types/input_message_content/external_reply_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ async def _parse(
332332
media_type = enums.MessageMediaType.UNKNOWN
333333

334334
return ExternalReplyInfo(
335+
client=client,
335336
origin=origin,
336337
chat=chat,
337338
message_id=reply_to.reply_to_msg_id,

0 commit comments

Comments
 (0)