Skip to content

ReactionsModel

ReactionsModel = object

Defined in: packages/schema/src/model.ts:1979

The reactions under a conversation’s messages: one record per person, message and emoji, its user the person who reacted, set by the server, such as the resource’s .author().

emoji: string

Defined in: packages/schema/src/model.ts:1987

The enum field of the emoji; its values, in their order, are the set offered.


field: string

Defined in: packages/schema/src/model.ts:1983

The filterable relation of resource to the message reacted to.


labels: Record<string, { name: string; symbol: string; }>

Defined in: packages/schema/src/model.ts:1989

Each value of emoji as it is drawn (symbol) and named (name), such as { thumbs_up: { symbol: '👍', name: 'Thumbs up' } }.


resource: string

Defined in: packages/schema/src/model.ts:1981

The reaction resource.


user: string

Defined in: packages/schema/src/model.ts:1985

The text field of the user id of the person who reacted.