Google Apps Chat V1 Client - Class State (0.23.0)

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 \ Availability

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Default value. The state is unspecified.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

ACTIVE

Value: 1

The user is currently active, based on recent activity.

Generated from protobuf enum ACTIVE = 1;

IDLE

Value: 2

The 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: 3

The 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: 4

The user is in Do Not Disturb state, which is manually set.

Generated from protobuf enum DO_NOT_DISTURB = 4;