This Command is for Subscribing a contact

It contains three Attributes
Argument is responsible for details over the subscription of contacts and this argument will be sent to Server
Result contains the info which is sent from server
Error shows which type of an error is occurred

ArgumentType: AsnGetAndSubscribePresenceArgument

AsnGetAndSubscribePresenceArgument is an Object

Name Type Optional Comment
seqContactIDs UTF8StringList Angeben, welche Kontakte man abonnieren will

iEventFlagsToSubscribe number yes AsnPresenceSubscriptionFlags: Welche Events abonniert werden sollen, default am Server: alle

iContactDetailsReturnFilter number yes AsnPresenceSubscriptionFlags: Welche Daten möchte man initial hier zurück bekommen, default am Server: alle

bOpenOnlyInternalContacts boolean yes Anonyme Benutzer schränken diesen Filter IMMER ein.

bDontRequestPermissions boolean yes Keine Berechtigungsanfrage starten

optionalParams AsnOptionalParameters yes (z.B. sollen anonyme Benutzer eben nicht alle Events bekommen können

ResultType: AsnGetAndSubscribePresenceResult

AsnGetAndSubscribePresenceResult is an Object

Name Type Optional Comment
seqSubscribedPresence AsnPresenceList Kontakte die angefordert wurden

optionalParams AsnOptionalParameters yes

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 6.4