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

feat: moderation v2 endpoints under client.moderation #1327

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

vishalnarkhede
Copy link
Contributor

@vishalnarkhede vishalnarkhede commented Jul 4, 2024

CLA

  • I have signed the Stream CLA (required).
  • Code changes are tested

Description of the changes, What, Why and How?

Changelog

All the moderation v2 endpoints have been moved to client.moderation umbrella. Basically if you want to use moderation v2 flagging:

await client.moderation.flagUser(...)
await client.moderation.flagMessage(...)
await client.moderation.muteUser(...)
await client.moderation.queryReviewQueue(...)

Copy link
Contributor

github-actions bot commented Jul 4, 2024

Size Change: +2.81 kB (+0.75%)

Total Size: 380 kB

Filename Size Change
dist/browser.es.js 82.3 kB +661 B (+0.81%)
dist/browser.full-bundle.min.js 48.9 kB +118 B (+0.24%)
dist/browser.js 83.3 kB +684 B (+0.83%)
dist/index.es.js 82.3 kB +662 B (+0.81%)
dist/index.js 83.4 kB +687 B (+0.83%)

compressed-size-action

@vishalnarkhede vishalnarkhede requested a review from gumuz July 4, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants