asnAbsentStateSetUser

Operation to set the manual presence state of a user.

This operation is used to set the manual presence state of a user. This ist mostly used for the logged in contact, but can be used to set it for others user too.
In order to do that, access rights have to be granted by the other contact to the current user of the calling client.

If the operation was successful, AsnAbsentStateSetUserResult is returned.

If an error occured, AsnRequestError is returned.

ArgumentType: AsnAbsentStateSetUserArgument

AsnAbsentStateSetUserArgument is an Object

Name Type Optional Comment
absentstate AsnAbsentState The AsnAbsentState data to change the manual presence of the user.

optionalParams AsnOptionalParameters yes reserved

ResultType: AsnAbsentStateSetUserResult

AsnAbsentStateSetUserResult is an Object

Name Type Optional Comment
bSuccess boolean Should always be true.

optionalParams AsnOptionalParameters yes reserved

ErrorType: AsnRequestError

AsnRequestError is an Object

Name Type Optional Comment
iErrorDetail number A number representing the error

u8sErrorString string A string representing the error

optionalParams AsnOptionalParameters yes No optional params yet

Version 7