Github
  • Preparing search index...
  • The search index is not available
Trieve Typescript SDK - v0.0.97
  • Trieve Typescript SDK
  • Messages Methods
  • getMessageById

Function getMessageById

  • getMessageById(data, signal?): Promise<Message>
  • Quickly get the full object for a given message. From the message, you can get the topic and all messages which exist on that topic.

    Example:

    const data = await trieve.getMessageById({
    messageId: "3c90c3cc-1d76-27198-8888-8dd25736052a",
    });

    Parameters

    • data: Omit<GetMessageByIdData, "trDataset">
    • Optionalsignal: AbortSignal

    Returns Promise<Message>

    • Defined in clients/ts-sdk/src/functions/message/index.ts:442

Settings

Member Visibility
Github
Trieve Typescript SDK - v0.0.97
  • Loading...

Generated using TypeDoc

Please reach out if you'd like assistance; we are responsive! Contact humans@trieve.ai or see trieve.ai for links to Discord and Matrix.