mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Clean up GIF and Location comments
This commit is contained in:
parent
5d9e2f7d7a
commit
62f575d53f
@ -65,12 +65,12 @@ class GIF(Object):
|
|||||||
file_size: int = None,
|
file_size: int = None,
|
||||||
date: int = None
|
date: int = None
|
||||||
):
|
):
|
||||||
self.file_id = file_id # string
|
self.file_id = file_id
|
||||||
self.thumb = thumb # flags.0?PhotoSize
|
self.thumb = thumb
|
||||||
self.file_name = file_name # flags.1?string
|
self.file_name = file_name
|
||||||
self.mime_type = mime_type # flags.2?string
|
self.mime_type = mime_type
|
||||||
self.file_size = file_size # flags.3?int
|
self.file_size = file_size
|
||||||
self.date = date # flags.4?int
|
self.date = date
|
||||||
self.width = width # int
|
self.width = width
|
||||||
self.height = height # int
|
self.height = height
|
||||||
self.duration = duration # int
|
self.duration = duration
|
||||||
|
@ -33,5 +33,5 @@ class Location(Object):
|
|||||||
ID = 0xb0700012
|
ID = 0xb0700012
|
||||||
|
|
||||||
def __init__(self, longitude: float, latitude: float):
|
def __init__(self, longitude: float, latitude: float):
|
||||||
self.longitude = longitude # double
|
self.longitude = longitude
|
||||||
self.latitude = latitude # double
|
self.latitude = latitude
|
||||||
|
Loading…
x
Reference in New Issue
Block a user