The Session Management API above allows you to set your own presence when you first login to the Yahoo Messenger IM SDK. However, you can obtain and set the Presence Management API as well. Resetting your presence is useful in the event that you wish to change your presence state or message after you have logged in.
For example, this call will update both the presence state and the presence message to show that the user is busy in a meeting.
If nothing goes wrong, the response from the server is a simple