Exemplo n.º 1
0
 def edit_message_caption(self,
                          caption,
                          chat_id=None,
                          message_id=None,
                          inline_message_id=None,
                          reply_markup=None):
     return types.Message.de_json(
         apihelper.edit_message_caption(self.token, caption, chat_id,
                                        message_id, inline_message_id,
                                        reply_markup))
Exemplo n.º 2
0
 def edit_message_caption(self,
                          caption,
                          chat_id=None,
                          message_id=None,
                          inline_message_id=None,
                          reply_markup=None):
     result = apihelper.edit_message_caption(self.token, caption, chat_id,
                                             message_id, inline_message_id,
                                             reply_markup)
     if type(result) == bool:
         return result
     return types.Message.de_json(result)
Exemplo n.º 3
0
 def edit_message_caption(self, caption, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
     return types.Message.de_json(
         apihelper.edit_message_caption(self.token, caption, chat_id, message_id, inline_message_id, reply_markup)
     )
Exemplo n.º 4
0
 def edit_message_caption(self, caption, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
     result = apihelper.edit_message_caption(self.token, caption, chat_id, message_id, inline_message_id,
                                             reply_markup)
     if type(result) == bool:
         return result
     return types.Message.de_json(result)