Skip to main content

MessageReactionsService

The MessageReactionsService allows you to set which reactions are enabled and their associated emoji.

Properties

reactions$

reactions$: BehaviorSubject<{}>

The enabled reactions and the associated emoji

You can provide any string as a reaction. The emoji can be provided as a string, if you want to use custom images for reactions you have to provide a custom reactions UI

Defined in

lib/message-reactions.service.ts:18

Accessors

reactions

get reactions(): Object

Get the currently enabled reactions

Returns

Object

Defined in

lib/message-reactions.service.ts:39

set reactions(reactions): void

Sets the enabled reactions

Parameters

NameType
reactionsObject

Returns

void

Defined in

lib/message-reactions.service.ts:32

Did you find this page helpful?