feat(user/status): Add support for clear_status_after / clear_status_at.
feat(user/status): Add support for clear_status_after / clear_status_at.
SetUserStatus
Adds the ability to automatically clear a user's status after a specified time period.
- The
ClearStatusAfterValuetype has been added with appropriate constants for all supported durations. - The
ClearStatusAfterfield has been added to theUserStatusOptionsstruct. - A unit test for
SetUserStatushas been added.
CurrentUserStatus / GetUserStatus
The time at which a status will be cleared is now exposed via the Go structure.
- The
ClearStatusAtfield has been added to theUserStatusstruct. - The unit test has been updated to cover parsing of the
ClearStatusAtfield.