Class SpacesResource.MessagesResource.ReactionsResource
The "reactions" collection of methods.
Inherited Members
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. Only unicode emojis are supported. For an example, see Add a reaction to a message. Requires user authentication.
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: |
Returns
Type | Description |
---|---|
SpacesResource.MessagesResource.ReactionsResource.CreateRequest |
Delete(string)
Deletes a reaction to a message. Only unicode emojis are supported. For an example, see Delete a reaction. Requires user authentication.
Declaration
public virtual SpacesResource.MessagesResource.ReactionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the reaction to delete. Format:
|
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.
Declaration
public virtual SpacesResource.MessagesResource.ReactionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The message users reacted to. Format: |
Returns
Type | Description |
---|---|
SpacesResource.MessagesResource.ReactionsResource.ListRequest |