tock / ai.tock.bot.engine.user / UserTimelineDAO / save

save

abstract fun save(userTimeline: UserTimeline, botDefinition: BotDefinition): Unit (source)

Saves the timeline.

Parameters

userTimeline - the timeline to save

botDefinition - the bot definition (in order to add stats about the bot)

abstract fun save(userTimeline: UserTimeline, namespace: String): Unit (source)

Saves the timeline.

Parameters

userTimeline - the timeline to save

namespace - the namespace of the current bot