0
import telebot
import config
from telebot import types

bot = telebot.TeleBot(config.token)

@bot.message_handler(content_types=["text"])
def weather(message):
    markup = types.ReplyKeyboardMarkup(one_time_keyboard=True, resize_keyboard=True)
    markup.row('Fast Actions', 'View options')
    bot.send_message(message.chat.id,"", reply_markup=markup)


bot.infinity_polling()

1 ответ 1

0

Никак. Текст - обязательное поле от 1 до 4096 символов. https://core.telegram.org/bots/api#sendmessage

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.