modules/notes library

Functions

createTextNoteForUser(String apiBase, String baseUrl, String apiToken, String visibility, bool localOnly, String reactionAcceptance, bool noExtractMentions, bool noExtractHashtags, bool noExtractEmojis, String note) Future<Map<String, dynamic>>
Attempts to create a text note on the supplied instance. The visibility can be set to "public", "home", "followers" or "direct". The "reactionAcceptance" parameter allows you to set which reactions can be sent. For the other parameters, when in doubt, please read the API documentation here: https://misskey.io/api-doc If the operation succeeds, a success map is returned. If the operation fails, an error map is returned.
deleteNoteForUser(String apiBase, String baseUrl, String apiToken, String noteId) Future<Map<String, dynamic>>
Attempts to delete a note. If the operation succeeds, a success map is returned. If the operation fails, an error map is returned.
getUserNotes(String userName, String server, String apiBase, String baseUrl) Future<Map<String, dynamic>>
Attempts to retrieve the notes a user has created on the supplied instance as a map. If this fails, an error map is returned.
likeNoteForUser(String apiBase, String baseUrl, String apiToken, String noteId, String reaction) Future<Map<String, dynamic>>
Attempts to like a note. If the operation succeeds, a success map is returned. If the operation fails, an error map is returned. You can customize which reaction you want to send.
unlikeNoteForUser(String apiBase, String baseUrl, String apiToken, String noteId, String reaction) Future<Map<String, dynamic>>
Attempts to unlike a note. If the operation succeeds, a success map is returned. If the operation fails, an error map is returned. You can customize which reaction you want to reverse.