The group router for the Guilded REST API.

Example

new GroupRouter(rest);

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

The REST API manager the router belongs to.

Methods

  • Add a member to a group on Guilded.

    Example

    groups.addMember('abc', 'abc');
    

    Parameters

    • groupId: string

      The ID of the group the member belongs to.

    • memberId: string

      The ID of the member to add to the group.

    Returns Promise<void>

  • Remove a member from a group on Guilded.

    Example

    groups.removeMember('abc', 'abc');
    

    Parameters

    • groupId: string

      The ID of the group the member belongs to.

    • memberId: string

      The ID of the member to remove from the group.

    Returns Promise<void>