@bot.message_handler(chat_id=[], commands=['msg'])
def admin_rep(message):
if message.text == '/msg':
bot.send_message(message.chat.id, 'Введите сообщение')
bot.register_next_step_handler(message, step)
def step(message):
text = message.text
bot.send_message(message.chat.id, text)