miso-npm-publish-test
Version:
A library for easily sending push notifications to LINE Bot
9 lines (8 loc) • 536 B
TypeScript
import { EmptyResponse, PushResponse, QuotaResponse, QuotaConsumptionResponse } from "./types.js";
export interface LinePushApiInterface {
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>;
}