Back to product page

SetStatus method


Changes user's status.

Syntax

  • Basic
object.SetStatus (NewStatus, [Description])
The SetStatus(object,NewStatus,Description) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
NewStatusA StatusEnum enumeration, as described in settings.
DescriptionOptional. A Variant value. String describing the new status.

Remarks

Use this method to change user's status. Method accepts NewStatus parameter, and an optional, Description parameter. Depending on the parameters you provide to the method, you can set, or even create custom description texts. If you set Description, it will be shown to your contacts instead of default description (such as 'Away', 'Free for chat' etc..)

Platforms

Windows