mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Add Voice type
This commit is contained in:
parent
4132a1d266
commit
8216201f19
1 changed files with 10 additions and 0 deletions
10
pyrogram/client/types/voice.py
Normal file
10
pyrogram/client/types/voice.py
Normal 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
|
||||
Loading…
Reference in a new issue