Represents a generic response from the API.

interface Response<T> {
    code: number;
    message: string;
    result: T;
    result_info?: ResultInfo;
    status?: boolean;
}

Type Parameters

  • T

    The type of the result contained in the response.

Hierarchy (view full)

Properties

code: number
message: string
result: T
result_info?: ResultInfo
status?: boolean

Generated using TypeDoc