The reaction router for the Guilded REST API.

Example

new ReactionRouter(rest);

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Create a reaction on Guilded.

    Example

    reactions.create('abc', 'abc', 123);
    

    Parameters

    • channelId: string

      The ID of the channel the content belongs to.

    • contentId: string

      The ID of the content to add the reaction to.

    • emojiId: number

      The ID of the emoji to add the reaction with.

    Returns Promise<void>

  • Delete a reaction from Guilded.

    Example

    reactions.delete('abc', 'abc', 123);
    

    Parameters

    • channelId: string

      The ID of the channel the content belongs to.

    • contentId: string

      The ID of the content to remove the reaction from.

    • emojiId: number

      The ID of the emoji to remove.

    Returns Promise<void>