miso-npm-publish-test
Version:
A library for easily sending push notifications to LINE Bot
15 lines (14 loc) • 852 B
TypeScript
import type { LinePushApiInterface } from "../types/LinePushApiInterface.js";
import type { ConstructorOption, EmptyResponse, PushResponse, QuotaResponse, QuotaConsumptionResponse } from "../types/types.js";
export declare class LineAsyncInitializablePushApiProxy implements LinePushApiInterface {
private _linePushApi;
constructor(constructorOption: ConstructorOption);
private _initLinePushApi;
private _getToken;
private _initWait;
broadcast(messages: string[], notificationDisabled?: boolean): Promise<EmptyResponse>;
push(to: string, messages: string[], notificationDisabled?: boolean): Promise<PushResponse>;
multicast(to: string[], messages: string[], notificationDisabled?: boolean): Promise<EmptyResponse>;
getQuota(): Promise<QuotaResponse>;
getQuotaConsumption(): Promise<QuotaConsumptionResponse>;
}