def answer_callback_query(self, callback_query_id, text=None, show_alert=None, url=None):
     """
     Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to
     the user as a notification at the top of the chat screen or as an alert.
     :param callback_query_id:
     :param text:
     :param show_alert:
     :return:
     """
     return apihelper.answer_callback_query(self.token, callback_query_id, text, show_alert, url)
示例#2
0
 def answer_callback_query(self, callback_query_id, text=None, show_alert=None):
     """
     Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to
     the user as a notification at the top of the chat screen or as an alert.
     :param callback_query_id:
     :param text:
     :param show_alert:
     :return:
     """
     return apihelper.answer_callback_query(self.token, callback_query_id, text, show_alert)
示例#3
0
 def answer_callback_query(self, callback_query_id, text=None, show_alert=None):
     return apihelper.answer_callback_query(self.token, callback_query_id, text, show_alert)
示例#4
0
 def answer_callback_query(self,
                           callback_query_id,
                           text=None,
                           show_alert=None):
     return apihelper.answer_callback_query(self.token, callback_query_id,
                                            text, show_alert)