hook.notes

class immp.hook.notes.Note(*args, **kwargs)

Bases: immp.hook.database.BaseModel

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)

Bases: immp.core.hook.Hook

Hook for managing and recalling notes in channels.