From 8169a5f776f37625aad4d9fb3204b7d17c61383c Mon Sep 17 00:00:00 2001 From: Kacper Ziubryniewicz Date: Sat, 29 Sep 2018 13:40:38 +0200 Subject: [PATCH] Changed `LocationAttachment` --- fbchat/models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fbchat/models.py b/fbchat/models.py index e25ca31..cc06564 100644 --- a/fbchat/models.py +++ b/fbchat/models.py @@ -302,13 +302,11 @@ class LocationAttachment(Attachment): #: URL to Bing maps with the location url = None - def __init__(self, latitude=None, longitude=None, image=None, url=None, **kwargs): + def __init__(self, latitude=None, longitude=None, **kwargs): """Represents a user location""" super(LocationAttachment, self).__init__(**kwargs) self.latitude = latitude self.longitude = longitude - self.image = image - self.url = url class LiveLocationAttachment(LocationAttachment): #: Name of the location