Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useDeleteThread #1402

Open
GuillaumeSalles opened this issue Jan 12, 2024 · 1 comment
Open

useDeleteThread #1402

GuillaumeSalles opened this issue Jan 12, 2024 · 1 comment
Labels

Comments

@GuillaumeSalles
Copy link
Contributor

GuillaumeSalles commented Jan 12, 2024

Implement a hook to delete a thread from the client.
Require an additional admin permission for comments to be able to delete any threads.

Definition

function useDeleteThread(): ({ threadId: string }) => void;

Usage

const deleteThread = useDeleteThread();
deleteThread({ threadId: "th_xxx" });
@GuillaumeSalles GuillaumeSalles added the feature request Feature requested by the community label Jan 12, 2024
@rahulbaghel007
Copy link

I read the documentation and research a lot and found some soution. can I contribute to this

@adigau adigau added the public repo label Apr 15, 2024 — with Linear
@adigau adigau removed feature request Feature requested by the community public repo labels Apr 15, 2024
@adigau adigau added the 🏢 Building label Apr 24, 2024 — with Linear
@adigau adigau added the Engineering label May 9, 2024 — with Linear
@adigau adigau removed the Engineering label May 9, 2024
@adigau adigau added the Engineering label May 9, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants