Пример #1
0
 def send_game(self,
               chat_id,
               game_short_name,
               disable_notification=None,
               reply_to_message_id=None,
               reply_markup=None):
     result = apihelper.send_game(self.token, chat_id, game_short_name,
                                  disable_notification, reply_to_message_id,
                                  reply_markup)
     return types.Message.de_json(result)
Пример #2
0
 def send_game(self, chat_id, game_short_name, disable_notification=None, reply_to_message_id=None,
               reply_markup=None):
     result = apihelper.send_game(self.token, chat_id, game_short_name, disable_notification, reply_to_message_id,
                                  reply_markup)
     return types.Message.de_json(result)