REST Resource: spaces.messages.reactions

  • A Reaction represents a response to a message, containing information about the user, the emoji used, and a unique identifier.

  • Reactions can be created, deleted, and listed using the provided API methods.

  • The user field is output-only and indicates who created the reaction, while the emoji field is required and specifies the emoji used.

Resource: Reaction

A reaction to a message.

JSON representation
 { 
 "name" 
 : 
 string 
 , 
 "user" 
 : 
 { 
 object (  User 
 
) 
 } 
 , 
 "emoji" 
 : 
 { 
 object (  Emoji 
 
) 
 } 
 } 
Fields
name

string

Identifier. The resource name of the reaction.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

user

object ( User )

Output only. The user who created the reaction.

emoji

object ( Emoji )

Required. The emoji used in the reaction.

Methods

create

Creates a reaction and adds it to a message.

delete

Deletes a reaction to a message.

list

Lists reactions to a message.
Design a Mobile Site
View Site in Mobile | Classic
Share by: