Class UsersResource.SpacesResource.ThreadsResource.GetThreadReadStateRequest
Returns details about a user's read state within a thread, used to identify read and unread messages. For an example, see Get details about a user's thread read state. Requires user authentication.
Inheritance
UsersResource.SpacesResource.ThreadsResource.GetThreadReadStateRequest
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SpacesResource.ThreadsResource.GetThreadReadStateRequest : HangoutsChatBaseServiceRequest<ThreadReadState>, IClientServiceRequest<ThreadReadState>, IClientServiceRequest
Constructors
GetThreadReadStateRequest(IClientService, string)
Constructs a new GetThreadReadState request.
Declaration
public GetThreadReadStateRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Resource name of the thread 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 me
alias.
For example, users/me/spaces/{space}/threads/{thread}/threadReadState
. - Their Workspace email
address. For example, users/user@example.com/spaces/{space}/threads/{thread}/threadReadState
.
- Their user id. For example,
users/123456789/spaces/{space}/threads/{thread}/threadReadState
. Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetThreadReadState parameter list.
Declaration
protected override void InitParameters()