Class UsersResource.SpacesResource
The "spaces" collection of methods.
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SpacesResource
Constructors
SpacesResource(IClientService)
Constructs a new resource.
Declaration
public SpacesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Threads
Gets the Threads resource.
Declaration
public virtual UsersResource.SpacesResource.ThreadsResource Threads { get; }
Property Value
Type | Description |
---|---|
UsersResource.SpacesResource.ThreadsResource |
Methods
GetSpaceReadState(string)
Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see Get details about a user's space read state. Requires user authentication.
Declaration
public virtual UsersResource.SpacesResource.GetSpaceReadStateRequest GetSpaceReadState(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the space read state to retrieve. Only supports getting read state for the
calling user. To refer to the calling user, set one of the following: - The |
Returns
Type | Description |
---|---|
UsersResource.SpacesResource.GetSpaceReadStateRequest |
UpdateSpaceReadState(SpaceReadState, string)
Updates a user's read state within a space, used to identify read and unread messages. For an example, see Update a user's space read state. Requires user authentication.
Declaration
public virtual UsersResource.SpacesResource.UpdateSpaceReadStateRequest UpdateSpaceReadState(SpaceReadState body, string name)
Parameters
Type | Name | Description |
---|---|---|
SpaceReadState | body | The body of the request. |
string | name | Resource name of the space read state. Format: |
Returns
Type | Description |
---|---|
UsersResource.SpacesResource.UpdateSpaceReadStateRequest |