2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 21:38:04 +00:00

Clean up GIF and Location comments

This commit is contained in:
Dan 2018-07-12 14:14:19 +02:00
parent 5d9e2f7d7a
commit 62f575d53f
2 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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