Show / Hide Table of Contents

Class SpacesResource.MessagesResource.ReactionsResource

The "reactions" collection of methods.

Inheritance
object
SpacesResource.MessagesResource.ReactionsResource
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 SpacesResource.MessagesResource.ReactionsResource

Constructors

ReactionsResource(IClientService)

Constructs a new resource.

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

Methods

Create(Reaction, string)

Creates a reaction and adds it to a message. For an example, see Add a reaction to a message. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.messages.reactions.create - https://www.googleapis.com/auth/chat.messages.reactions - https://www.googleapis.com/auth/chat.messages - https://www.googleapis.com/auth/chat.import (import mode spaces only)

Declaration
public virtual SpacesResource.MessagesResource.ReactionsResource.CreateRequest Create(Reaction body, string parent)
Parameters
Type Name Description
Reaction body

The body of the request.

string parent

Required. The message where the reaction is created. Format: spaces/{space}/messages/{message}

Returns
Type Description
SpacesResource.MessagesResource.ReactionsResource.CreateRequest

Delete(string)

Deletes a reaction to a message. For an example, see Delete a reaction. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.messages.reactions - https://www.googleapis.com/auth/chat.messages - https://www.googleapis.com/auth/chat.import (import mode spaces only)

Declaration
public virtual SpacesResource.MessagesResource.ReactionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Name of the reaction to delete. Format: spaces/{space}/messages/{message}/reactions/{reaction}

Returns
Type Description
SpacesResource.MessagesResource.ReactionsResource.DeleteRequest

List(string)

Lists reactions to a message. For an example, see List reactions for a message. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.messages.reactions.readonly - https://www.googleapis.com/auth/chat.messages.reactions - https://www.googleapis.com/auth/chat.messages.readonly - https://www.googleapis.com/auth/chat.messages

Declaration
public virtual SpacesResource.MessagesResource.ReactionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The message users reacted to. Format: spaces/{space}/messages/{message}

Returns
Type Description
SpacesResource.MessagesResource.ReactionsResource.ListRequest
In this article
Back to top Generated by DocFX