Back to product page

SetStatus method


Sets your status in the chat room.

Syntax

  • Basic
object.SetStatus (NewStatus, Description)
The SetStatus(object,NewStatus,Description) syntax has these parts:
objectAn expression evaluating to an object of type XMPPChatRoom
NewStatusStatusEnum enumeration
DescriptionA String value. New status description.

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