C['update'] (and derived getters)
to specific update type
possibly useful for splitting a bot into multiple files.
Expose properties from all union variants.
Returns middleware that adds
ctx.session for storing arbitrary state per session key.
undefined, default session key and thus
ctx.session are also
Session data is kept only in memory by default,
which means that all data will be lost when the process is terminated.
If you want to store data across restarts, or share it among workers,
you can install persistent session middleware from npm,
or pass custom
Generated using TypeDoc