def send_venue(self,
                chat_id,
                latitude,
                longitude,
                title,
                address,
                foursquare_id=None,
                disable_notification=None,
                reply_to_message_id=None,
                reply_markup=None):
     """
     Use this method to send information about a venue.
     :param chat_id: Integer or String : Unique identifier for the target chat or username of the target channel
     :param latitude: Float : Latitude of the venue
     :param longitude: Float : Longitude of the venue
     :param title: String : Name of the venue
     :param address: String : Address of the venue
     :param foursquare_id: String : Foursquare identifier of the venue
     :param disable_notification:
     :param reply_to_message_id:
     :param reply_markup:
     :return:
     """
     return types.Message.de_json(
         apihelper.send_venue(self.token, chat_id, latitude, longitude,
                              title, address, foursquare_id,
                              disable_notification, reply_to_message_id,
                              reply_markup))
Exemple #2
0
 def send_venue(self, chat_id, latitude, longitude, title, address, foursquare_id=None, disable_notification=None,
                reply_to_message_id=None, reply_markup=None):
     """
     Use this method to send information about a venue.
     :param chat_id: Integer or String : Unique identifier for the target chat or username of the target channel
     :param latitude: Float : Latitude of the venue
     :param longitude: Float : Longitude of the venue
     :param title: String : Name of the venue
     :param address: String : Address of the venue
     :param foursquare_id: String : Foursquare identifier of the venue
     :param disable_notification:
     :param reply_to_message_id:
     :param reply_markup:
     :return:
     """
     return types.Message.de_json(
         apihelper.send_venue(self.token, chat_id, latitude, longitude, title, address, foursquare_id,
                              disable_notification, reply_to_message_id, reply_markup)
     )