Skip to main content
Hook to send a reaction to a message in a stream. Reaction can be any string value, including emojis.

Imports

Examples

Definition

Source: useSendReaction

Parameters

streamId

  • Type: string
The id of the stream to send the reaction to.

config

  • Type: ActionConfig<Channel["sendReaction"]>
  • Optional
Configuration options for the action.

Return Type

The sendReaction action and its loading state.