2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Add Voice type

This commit is contained in:
Dan 2018-03-09 14:44:31 +01:00
parent 4132a1d266
commit 8216201f19

View File

@ -0,0 +1,10 @@
class Voice:
def __init__(self,
file_id: str,
duration: int,
mime_type: str = None,
file_size: int = None):
self.file_id = file_id
self.duration = duration
self.mime_type = mime_type
self.file_size = file_size