hook.notes

class immp.hook.notes.Note(**kwargs: typing.Any) → None

Bases: tortoise.models.Model

Representation of a single note.

timestamp

int – Creation time of the note.

network

str – Network identifier for the channel’s plug.

channel

str – Channel identifier where the note was created.

user

str – User identifier of the note’s author.

text

str – Note content.

class immp.hook.notes.NotesHook(name, config, host, virtual=False)

Bases: immp.core.hook.Hook

Hook for managing and recalling notes in channels.