Resume Message
Resumes processing of a previously interrupted or incomplete message in a chat. Useful for continuing generation when a message was paused or stopped.
Usage
import { v0 } from 'v0-sdk'const result = await v0.chats.resume()console.log(result)API Signature
Request
Path Parameters
The unique identifier of the chat containing the message to resume. Provided as a path parameter.
The identifier of the specific message to resume. Provided as a path parameter.
Response
A unique identifier for the message.
Fixed value identifying this object as a message.
The main text content of the message.
The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change.
The ISO timestamp representing when the message was created.
The ISO timestamp representing when the message was last updated.
Indicates the format or category of the message, such as plain text or code.
Specifies whether the message was sent by the user or the assistant.
The reason why the message generation finished.
API URL to access this message via the API.
The ID of the user who sent the message.
The ID of the parent message.
The URL where the attachment file can be accessed.
The original filename of the attachment.
The MIME type of the attachment file (e.g., image/png, application/pdf).
The size of the attachment file in bytes.
The base64-encoded content of the attachment file, if available.
Optional v0-specific attachment type for enhanced processing.
The ID of the chat to which this message belongs.