def geo(self):
        """
        If the message media is geo, geo live or a venue,
        this returns the :tl:`GeoPoint`.
        """
        if isinstance(self.media, (types.MessageMediaGeo,
                                   types.MessageMediaGeoLive,
                                   types.MessageMediaVenue)):
            return self.media.geo
If the message media is geo, geo live or a venue,
        this returns the :tl:`GeoPoint`.