def run_query(self, message: Message, father: BotFather): father.send_message(chat_id=message.chat.id, text=LyricBot.get_lyric( message.text.split(',')[0], message.text.split(',')[1]), reply_to_message_id=message.message_id, disable_web_page_preview=True)
def run_query(self, message: Message, father: BotFather): father.send_message(chat_id=message.chat.id, text=GoogleBot.search_google(message.text), reply_to_message_id=message.message_id)
def run_query(self, message: Message, father: BotFather): father.send_message(text=str(PythonBot.interpreter(message.text)), chat_id=message.chat.id, reply_to_message_id=message.message_id)
def run_query(self, message: Message, father: BotFather): father.send_message(chat_id=message.chat.id, text=LyricBot.get_lyric(message.text.split(',')[0], message.text.split(',')[1]), reply_to_message_id=message.message_id, disable_web_page_preview=True)
def run_query(self, message: Message, father: BotFather): father.send_chat_action(message.chat.id, 'upload_video') for (path, name) in self.youtube_download(message.text): father.send_video(video=path, chat_id=message.chat.id, caption=name) father.send_chat_action(message.chat.id, 'upload_video')
def run_query(self, message: Message, father: BotFather): father.send_message( chat_id=message.chat.id, text=GoogleBot.search_google(message.text), reply_to_message_id=message.message_id )