Reference documentation and code samples for the Google Apps Chat V1 Client class State.
Represents the current availability state of the user.
Protobuf type google.chat.v1.Availability.State
Namespace
Google \ Apps \ Chat \ V1 \ AvailabilityMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Default value. The state is unspecified.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
ACTIVE
Value: 1The user is currently active, based on recent activity.
Generated from protobuf enum ACTIVE = 1;
IDLE
Value: 2The user is currently idle. This state indicates a period of inactivity after being ACTIVE, before potentially transitioning to AWAY.
Generated from protobuf enum IDLE = 2;
AWAY
Value: 3The user is currently away. This can be either automatically set after
a period of inactivity in ACTIVE or IDLE state, or it can be manually set
by the user. When manually set via MarkAsAway, this state persists
regardless of user activity.
Generated from protobuf enum AWAY = 3;
DO_NOT_DISTURB
Value: 4The user is in Do Not Disturb state, which is manually set.
Generated from protobuf enum DO_NOT_DISTURB = 4;