@@ -415,6 +415,19 @@ def send_location(self, chat_id, latitude, longitude, reply_to_message_id=None,
415415
416416 def send_venue (self , chat_id , latitude , longitude , title , address , foursquare_id = None , disable_notification = None ,
417417 reply_to_message_id = None , reply_markup = None ):
418+ """
419+ Use this method to send information about a venue.
420+ :param chat_id: Integer or String : Unique identifier for the target chat or username of the target channel
421+ :param latitude: Float : Latitude of the venue
422+ :param longitude: Float : Longitude of the venue
423+ :param title: String : Name of the venue
424+ :param address: String : Address of the venue
425+ :param foursquare_id: String : Foursquare identifier of the venue
426+ :param disable_notification:
427+ :param reply_to_message_id:
428+ :param reply_markup:
429+ :return:
430+ """
418431 return types .Message .de_json (
419432 apihelper .send_venue (self .token , chat_id , latitude , longitude , title , address , foursquare_id ,
420433 disable_notification , reply_to_message_id , reply_markup )
@@ -432,6 +445,21 @@ def send_chat_action(self, chat_id, action):
432445 """
433446 return apihelper .send_chat_action (self .token , chat_id , action )
434447
448+ def kick_chat_member (self , chat_id , user_id ):
449+ """
450+ Use this method to kick a user from a group or a supergroup.
451+ :param chat_id: Int or string : Unique identifier for the target group or username of the target supergroup
452+ :param user_id: Int : Unique identifier of the target user
453+ :return: types.Message
454+ """
455+ return apihelper .kick_chat_member (self .token , chat_id , user_id )
456+
457+ def unban_chat_member (self , chat_id , user_id ):
458+ return apihelper .unban_chat_member (self .token , chat_id , user_id )
459+
460+ def answer_callback_query (self , callback_query_id , text = None , show_alert = None ):
461+ return apihelper .answer_callback_query (self .token , callback_query_id , text , show_alert )
462+
435463 def reply_to (self , message , text , ** kwargs ):
436464 """
437465 Convenience function for `send_message(message.chat.id, text, reply_to_message_id=message.message_id, **kwargs)`
0 commit comments