course id of the note (in Moodle a note can only be created into a course, even for site and personal notes)
Optional
formattext format (1 = HTML, 0 = MOODLE, 2 = PLAIN, or 4 = MARKDOWN
'personal', 'course' or 'site'
the text of the message - text or HTML
id of the user the note is about
Generated using TypeDoc
your own client id for the note. If this id is provided, the fail message id will be returned to you