Skip to content

MARK_MESSAGES_UNREAD

MARK_MESSAGES_UNREAD marks the given messages for the given user (user is recipient) as unread.

Syntax

leo-grammar
CC "Application" MARK_MESSAGES_UNREAD messageids:strValue userid:intValue

#--> RESULT ecode:intValue
CC "Application" MARK_MESSAGES_UNREAD messageids:strValue userid:intValue

#--> RESULT ecode:intValue

Parameters

  • messageids (strValue) - a string containing the IDs of the messages (blank separated).
  • userid (intValue) - is the ID of the recipient of the messages.

Returns

  • ecode (intValue) - Contains the error code or is 0 in case of success.

Details

This command works both for normal and for system users.

See Also

Examples

asc
CC "UserMgt" GET_USER_ID_OF_CURRENT_USER
CC "Application" MESSAGE_SEARCH "Text"
CC "Application" MARK_MESSAGES_UNREAD messageids:(messageids) userid:(userid)
CC "UserMgt" GET_USER_ID_OF_CURRENT_USER
CC "Application" MESSAGE_SEARCH "Text"
CC "Application" MARK_MESSAGES_UNREAD messageids:(messageids) userid:(userid)

Versions and Changes

Available since ADOxx 1.3