def prof(update: Update, context: CallbackContext): check_log(update, context, "prof") message_text = prof_cmd(context.args) if len(message_text) > 4096: send_message(update, context, message_text) else: context.bot.sendMessage(chat_id=update.message.chat_id, text=message_text, parse_mode='Markdown')
def prof(bot, update, args): check_log(bot, update, "prof") message_text = prof_cmd(args) if len(message_text) > 4096: send_message(bot, update, message_text) else: bot.sendMessage(chat_id=update.message.chat_id, text=message_text, parse_mode='Markdown')
def prof(bot, update, args): checkLog(bot, update, "prof") messageText = prof_cmd(args) bot.sendMessage(chat_id=update.message.chat_id, text=messageText, parse_mode='Markdown')