def section_keyboard(bot, update):
"""
Command that shows keyboard of departments for:
news, newson and newsoff
"""
keys = [['Univaq'], ['Disim'], ['Mesva'],
['Discab'], ['Chiudi']]
bot.sendMessage(update.message.chat_id,
'Scegli il dipartimento:',
reply_markup=telegram.ReplyKeyboardMarkup(
keys, one_time_keyboard=True))
return "department"
评论列表
文章目录