def set_timezone(self, bot, update):
keyboard = []
for continent in sorted(get_timezones().keys()):
keyboard.append([InlineKeyboardButton(continent)])
reply_markup = ReplyKeyboardMarkup(keyboard, one_time_keyboard=True)
update.message.reply_text('Please select a continent, or /cancel to cancel:', reply_markup=reply_markup)
return self.TIMEZONE_CONTINENT
评论列表
文章目录