Updates the current identity's last read timestamp in the given thread.
Use a bare-bones client and the command you need to make an API call.
import { ChatServiceClient, SetThreadReadCommand } from "@rivet-gg/chat"; // ES Modules import // const { ChatServiceClient, SetThreadReadCommand } = require("@rivet-gg/chat"); // CommonJS import const client = new ChatServiceClient(config); const command = new SetThreadReadCommand(input); const response = await client.send(command);
SetThreadReadCommandInput for command's input shape.
input
SetThreadReadCommandOutput for command's response shape.
response
config for ChatServiceClient's config shape.
config
Updates the current identity's last read timestamp in the given thread.
Use a bare-bones client and the command you need to make an API call.
import { ChatServiceClient, SetThreadReadCommand } from "@rivet-gg/chat"; // ES Modules import // const { ChatServiceClient, SetThreadReadCommand } = require("@rivet-gg/chat"); // CommonJS import const client = new ChatServiceClient(config); const command = new SetThreadReadCommand(input); const response = await client.send(command);SetThreadReadCommandInput for command's
inputshape.SetThreadReadCommandOutput for command's
responseshape.config for ChatServiceClient's
configshape.