Skip to content

Commit

Permalink
pyrofork: Fix typo on purchased paid media parser
Browse files Browse the repository at this point in the history
Signed-off-by: Yasir Aris M <git@yasir.id>
  • Loading branch information
yasirarism committed Jan 3, 2025
1 parent b5fcfb3 commit aaabf53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyrogram/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
ChosenInlineResultHandler,
ChatMemberUpdatedHandler,
ChatJoinRequestHandler,
StoryHandler
StoryHandler,
PurchasedPaidMediaHandler
)
from pyrogram.raw.types import (
UpdateNewMessage, UpdateNewChannelMessage, UpdateNewScheduledMessage,
Expand Down Expand Up @@ -235,7 +236,7 @@ async def bot_business_connect_parser(update, users, chats):
async def purchased_paid_media_parser(update, users, chats):
return (
pyrogram.types.PurchasedPaidMedia._parse(self.client, update, users),
ChatBoostHandler
PurchasedPaidMediaHandler
)

self.update_parsers = {
Expand Down

0 comments on commit aaabf53

Please sign in to comment.