Show / Hide Table of Contents

Class UsersResource.SpacesResource.ThreadsResource

The "threads" collection of methods.

Inheritance
object
UsersResource.SpacesResource.ThreadsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SpacesResource.ThreadsResource

Constructors

ThreadsResource(IClientService)

Constructs a new resource.

Declaration
public ThreadsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

GetThreadReadState(string)

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 with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.users.readstate.readonly - https://www.googleapis.com/auth/chat.users.readstate

Declaration
public virtual UsersResource.SpacesResource.ThreadsResource.GetThreadReadStateRequest GetThreadReadState(string name)
Parameters
Type Name Description
string 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

Returns
Type Description
UsersResource.SpacesResource.ThreadsResource.GetThreadReadStateRequest
In this article
Back to top Generated by DocFX