I've searched telegram bot api for "scenes" and "stages" that are part of telegraf. Here is an example. It seems they are implementations of telegraf and not the API. If this is the case how does telegraf implement those?
Read this tutorial on using Scenes and Stages here: https://github.com/telegraf/telegraf/issues/705