Skip to content

Commit

Permalink
Supports aiogram 3.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
loRes228 committed Sep 8, 2024
1 parent 0217b06 commit 8399007
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aiogram_broadcaster/contents/paid_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class PaidMediaContent(BaseContent):
star_count: int
media: list[Union[InputPaidMediaPhoto, InputPaidMediaVideo]]
business_connection_id: Optional[str] = None
payload: Optional[str] = None
caption: Optional[str] = None
parse_mode: Optional[str] = None
caption_entities: Optional[list[MessageEntity]] = None
Expand All @@ -43,6 +44,7 @@ async def __call__(self, chat_id: int) -> SendPaidMedia:
star_count=self.star_count,
media=self.media,
business_connection_id=self.business_connection_id,
payload=self.payload,
caption=self.caption,
parse_mode=self.parse_mode,
caption_entities=self.caption_entities,
Expand All @@ -61,6 +63,7 @@ def __init__(
star_count: int,
media: list[Union[InputPaidMediaPhoto, InputPaidMediaVideo]],
business_connection_id: Optional[str] = ...,
payload: Optional[str] = ...,
caption: Optional[str] = ...,
parse_mode: Optional[str] = ...,
caption_entities: Optional[list[MessageEntity]] = ...,
Expand Down

0 comments on commit 8399007

Please sign in to comment.