title: How do scenes and stages work in telegraf
body: <p>I've searched telegram bot api for "scenes" and "stages" that are part of <a href="https://telegraf.js.org/#/?id=stage" rel="nofollow noreferrer">telegraf</a>. <a href="https://github.com/telegraf/telegraf/blob/develop/docs/examples/scenes-bot.js" rel="nofollow noreferrer">Here</a> is an example. It seems they are implementations of telegraf and not the API. If this is the case how does telegraf implement those? I mean how do they work under the hood?</p>