Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
     )