def start(bot, update):
hiKey = KeyboardButton("Hi", callback_data="Bonjour")
howRU = KeyboardButton("How are you?")
bye = KeyboardButton("Bye")
introduce = KeyboardButton("I'm Gutsy")
keyboard = [
[hiKey, howRU],
[bye, introduce]
]
reply_markup = ReplyKeyboardMarkup(keyboard)
update.message.reply_text('Please choose:', reply_markup=reply_markup)
评论列表
文章目录