Available in userscripts | ✔️ |
Available in popup scripts | ❌ |
Required manifest permissions | None |
Description
Allows addons to execute actions in the currently logged in Scratch user.
Methods
getMsgCount
Return value | Promise<Number | null> |
Gets the unread message count of the currently logged in user.
The promise will resolve to null
if addon.auth.isLoggedIn
is false
.
Comments
Make sure to follow the code of conduct. You can see this comment section on GitHub Discussions, as well as editing and removing your comment.