MCPcopy Create free account
hub / github.com/GetStream/stream-go2 / updateStatus

Method updateStatus

moderation.go:97–102  ·  view source on GitHub ↗
(ctx context.Context, r updateStatusRequest)

Source from the content-addressed store, hash-verified

95}
96
97func (c *ModerationClient) updateStatus(ctx context.Context, r updateStatusRequest) error {
98 endpoint := c.client.makeEndpoint("moderation/status/")
99
100 _, err := c.client.post(ctx, endpoint, r, c.client.authenticator.moderationAuth)
101 return err
102}
103
104type UpdateStatusBatchRequest struct {
105 ModeratorID string `json:"moderator_id"`

Calls 2

makeEndpointMethod · 0.80
postMethod · 0.80

Tested by

no test coverage detected