class Tourmaline::JsonPersistence
inherits Tourmaline::HashPersistence
#
Persists users and chats in a json file. This isn't the most efficient, but it is easy to set up for testing.
Constructors#
Methods#
#init
#
Gets called when the bot is initialized. This can be used for setup if you need access to the bot instance.