• Leave/Close a public ChatChannel!

    Parameters

    • this: API
    • channel: number | 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>