osu-api-v2-js
    Preparing search index...

    Function leaveOne

    • Leave/Close a public ChatChannel!

      Parameters

      • this: API
      • channel: number | Chat.Channel

        The channel you wanna leave/close

      • Optionaluser: number | User

        The user leaving/closing the channel (defaults to the presumed authorized user (api.user))

      Returns Promise<void>