From 59f1fd9ee62ce5a43dec39256f7de1b5ce6cc7f9 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 9 Mar 2018 14:46:58 +0100 Subject: [PATCH] Add Location type --- pyrogram/client/types/location.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 pyrogram/client/types/location.py diff --git a/pyrogram/client/types/location.py b/pyrogram/client/types/location.py new file mode 100644 index 00000000..5252e67f --- /dev/null +++ b/pyrogram/client/types/location.py @@ -0,0 +1,6 @@ +class Location: + def __init__(self, + longitude: float, + latitude: float): + self.longitude = longitude + self.latitude = latitude