Простейший Quiz Bot для Telegram, описанный в моих статьях на JavaRush. Статья 1. Поднимаем базового бота Статья 2. Quiz bot Статья 3. Quiz bot (окончание)