langchain.js
    Preparing search index...

    Type Alias InferChannelType<T>

    InferChannelType: T extends AnyAnnotationRoot
        ? ToAnnotationRoot<T>["State"]
        : T extends BaseMessage ? BaseMessage<T> : {}

    Type Parameters