UNPKG

@line/bot-sdk

Version:
57 lines (56 loc) 2.15 kB
/** * LIFF server API * LIFF Server API. * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AddLiffAppRequest } from "../model/addLiffAppRequest"; import { AddLiffAppResponse } from "../model/addLiffAppResponse"; import { GetAllLiffAppsResponse } from "../model/getAllLiffAppsResponse"; import { UpdateLiffAppRequest } from "../model/updateLiffAppRequest"; import * as Types from "../../types"; interface httpClientConfig { baseURL?: string; channelAccessToken: string; } export declare class LiffClient { private httpClient; constructor(config: httpClientConfig); private parseHTTPResponse; /** * Adding the LIFF app to a channel * @param addLiffAppRequest * * @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app"> Documentation</a> */ addLIFFApp(addLiffAppRequest: AddLiffAppRequest): Promise<AddLiffAppResponse>; /** * Deletes a LIFF app from a channel. * @summary Delete LIFF app from a channel * @param liffId ID of the LIFF app to be updated * * @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">Delete LIFF app from a channel Documentation</a> */ deleteLIFFApp(liffId: string): Promise<Types.MessageAPIResponseBase>; /** * Gets information on all the LIFF apps added to the channel. * @summary Get all LIFF apps * * @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">Get all LIFF apps Documentation</a> */ getAllLIFFApps(): Promise<GetAllLiffAppsResponse>; /** * Update LIFF app settings * @param liffId ID of the LIFF app to be updated * @param updateLiffAppRequest * * @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app"> Documentation</a> */ updateLIFFApp(liffId: string, updateLiffAppRequest: UpdateLiffAppRequest): Promise<Types.MessageAPIResponseBase>; } export {};