Class CustomStatus
Represents a user's custom status in Google Chat. This includes a short text message with an optional emoji that a user sets to give more context about their availability.
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class CustomStatus : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Emoji
Required. The emoji of the custom status. Only Unicode emojis are supported; custom emojis are not supported.
Declaration
[JsonProperty("emoji")]
public virtual Emoji Emoji { get; set; }
Property Value
| Type | Description |
|---|---|
| Emoji |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ExpireTimeRaw
The timestamp when the custom status expires.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Text
Required. The text of the custom status. This will be a string with maximum length of 64.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ttl
Input only. The time-to-live duration after which the custom status expires.
Declaration
[JsonProperty("ttl")]
public virtual object Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| object |