User:Zaycodes/Sandbox/API:ClearHasMsg

GET request to clear hasmsg flag for the current user

API documentation
Clears the hasmsg flag for the current user.

Parameter history

 * v1.29: This module must be POSTED since 1.29.0-wmf.5.

Additional notes
The  action will remove the HasMsg flag, which causes the "You have new messages" banner to appear and returns true in HasMsg query. It can be used by applications that retrieve the talk page using the API, which unlike opening your talk page in a browser, doesn't automatically remove this flag.

When you trigger this action, the banner "You have new messages" will not appear until you receive any more messages from other users.