Skip to content

Commit 4ed6e75

Browse files
author
shh
committed
Add MessageIdsEmpty exception
1 parent 8b58a1b commit 4ed6e75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/types/messages_and_media/giveaway_winners.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def _parse(
128128
message_ids=giveaway_media.launch_msg_id,
129129
replies=0
130130
)
131-
except (errors.ChannelPrivate, errors.ChannelInvalid):
131+
except (errors.ChannelPrivate, errors.ChannelInvalid, errors.MessageIdsEmpty):
132132
pass
133133

134134
return GiveawayWinners(

0 commit comments

Comments
 (0)