Connected Bot
RimTUB includes a connected bot. The system uses it to create buttons. However, nothing prevents you from adding more functionality to it. Access to the bot is available via app.bot. The bot's username can be retrieved using app.bot_username.
warning
The connected bot uses the original Kurigram client.