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 |
---|---|---|
IClient |
service |
Properties
SpaceNotificationSetting
Gets the SpaceNotificationSetting resource.
Declaration
public virtual UsersResource.SpacesResource.SpaceNotificationSettingResource SpaceNotificationSetting { get; }
Property Value
Type | Description |
---|---|
Users |
Threads
Gets the Threads resource.
Declaration
public virtual UsersResource.SpacesResource.ThreadsResource Threads { get; }
Property Value
Type | Description |
---|---|
Users |
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 |
---|---|
Users |
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 |
---|---|---|
Space |
body | The body of the request. |
string | name | Resource name of the space read state. Format: |
Returns
Type | Description |
---|---|
Users |