mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
24 lines
771 B
Python
24 lines
771 B
Python
class InputMedia:
|
|
class Photo:
|
|
def __init__(self,
|
|
media: str,
|
|
caption: str = "",
|
|
parse_mode: str = ""):
|
|
self.media = media
|
|
self.caption = caption
|
|
self.parse_mode = parse_mode
|
|
|
|
class Video:
|
|
def __init__(self,
|
|
media: str,
|
|
caption: str = "",
|
|
parse_mode: str = "",
|
|
width: int = 0,
|
|
height: int = 0,
|
|
duration: int = 0):
|
|
self.media = media
|
|
self.caption = caption
|
|
self.parse_mode = parse_mode
|
|
self.width = width
|
|
self.height = height
|
|
self.duration = duration
|