Skip to content

Commit 75ee395

Browse files
Update pyrogram/types/messages_and_media/message.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
1 parent e1d858e commit 75ee395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/types/messages_and_media/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ async def _parse(
13041304

13051305
if message.via_business_bot_id:
13061306
sender_business_bot = types.User._parse(
1307-
client, users.get(message.via_business_bot_id, None)
1307+
client, users.get(message.via_business_bot_id)
13081308
)
13091309

13101310
parsed_message = Message(

0 commit comments

Comments
 (0)