Options
All
  • Public
  • Public/Protected
  • All
Menu

Fetches all relevant changes from a thread that have happened since the given watch index.

example

Use a bare-bones client and the command you need to make an API call.

import { ChatServiceClient, WatchThreadCommand } from "@rivet-gg/chat"; // ES Modules import
// const { ChatServiceClient, WatchThreadCommand } = require("@rivet-gg/chat"); // CommonJS import
const client = new ChatServiceClient(config);
const command = new WatchThreadCommand(input);
const response = await client.send(command);
see

WatchThreadCommandInput for command's input shape.

see

WatchThreadCommandOutput for command's response shape.

see

config for ChatServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: WatchThreadCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<WatchThreadCommandInput, WatchThreadCommandOutput>