示例#1
0
 def edit_message_reply_markup(self, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
     return types.Message.de_json(
         apihelper.edit_message_reply_markup(self.token, chat_id, message_id, inline_message_id, reply_markup)
     )
 def edit_message_reply_markup(self, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
     result = apihelper.edit_message_reply_markup(self.token, chat_id, message_id, inline_message_id, reply_markup)
     if type(result) == bool:
         return result
     return types.Message.de_json(result)
示例#3
0
 def edit_message_reply_markup(self, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
     result = apihelper.edit_message_reply_markup(self.token, chat_id, message_id, inline_message_id, reply_markup)
     if type(result) == bool:
         return result
     return types.Message.de_json(result)
示例#4
0
 def edit_message_reply_markup(self, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
     return types.Message.de_json(
         apihelper.edit_message_reply_markup(self.token, chat_id, message_id, inline_message_id, reply_markup)
     )