Skip to content

@line/bot-sdk / Exports / liff / LiffClient

Class: LiffClient

liff.LiffClient

Table of contents

Constructors

Methods

Constructors

constructor

new LiffClient(config): LiffClient

Parameters

NameType
confighttpClientConfig

Returns

LiffClient

Defined in

lib/liff/api/liffClient.ts:40

Methods

addLIFFApp

addLIFFApp(addLiffAppRequest): Promise<AddLiffAppResponse>

Adding the LIFF app to a channel

Parameters

NameType
addLiffAppRequestAddLiffAppRequest

Returns

Promise<AddLiffAppResponse>

See

Documentation

Defined in

lib/liff/api/liffClient.ts:69


addLIFFAppWithHttpInfo

addLIFFAppWithHttpInfo(addLiffAppRequest): Promise<ApiResponseType<AddLiffAppResponse>>

Adding the LIFF app to a channel. This method includes HttpInfo object to return additional information.

Parameters

NameType
addLiffAppRequestAddLiffAppRequest

Returns

Promise<ApiResponseType<AddLiffAppResponse>>

See

Documentation

Defined in

lib/liff/api/liffClient.ts:82


deleteLIFFApp

deleteLIFFApp(liffId): Promise<MessageAPIResponseBase>

Deletes a LIFF app from a channel.

Parameters

NameTypeDescription
liffIdstringID of the LIFF app to be updated

Returns

Promise<MessageAPIResponseBase>

Summary

Delete LIFF app from a channel

See

Delete LIFF app from a channel Documentation

Defined in

lib/liff/api/liffClient.ts:97


deleteLIFFAppWithHttpInfo

deleteLIFFAppWithHttpInfo(liffId): Promise<ApiResponseType<MessageAPIResponseBase>>

Deletes a LIFF app from a channel. . This method includes HttpInfo object to return additional information.

Parameters

NameTypeDescription
liffIdstringID of the LIFF app to be updated

Returns

Promise<ApiResponseType<MessageAPIResponseBase>>

Summary

Delete LIFF app from a channel

See

Delete LIFF app from a channel Documentation

Defined in

lib/liff/api/liffClient.ts:111


getAllLIFFApps

getAllLIFFApps(): Promise<GetAllLiffAppsResponse>

Gets information on all the LIFF apps added to the channel.

Returns

Promise<GetAllLiffAppsResponse>

Summary

Get all LIFF apps

See

Get all LIFF apps Documentation

Defined in

lib/liff/api/liffClient.ts:125


getAllLIFFAppsWithHttpInfo

getAllLIFFAppsWithHttpInfo(): Promise<ApiResponseType<GetAllLiffAppsResponse>>

Gets information on all the LIFF apps added to the channel.. This method includes HttpInfo object to return additional information.

Returns

Promise<ApiResponseType<GetAllLiffAppsResponse>>

Summary

Get all LIFF apps

See

Get all LIFF apps Documentation

Defined in

lib/liff/api/liffClient.ts:136


updateLIFFApp

updateLIFFApp(liffId, updateLiffAppRequest): Promise<MessageAPIResponseBase>

Update LIFF app settings

Parameters

NameTypeDescription
liffIdstringID of the LIFF app to be updated
updateLiffAppRequestUpdateLiffAppRequest

Returns

Promise<MessageAPIResponseBase>

See

Documentation

Defined in

lib/liff/api/liffClient.ts:149


updateLIFFAppWithHttpInfo

updateLIFFAppWithHttpInfo(liffId, updateLiffAppRequest): Promise<ApiResponseType<MessageAPIResponseBase>>

Update LIFF app settings. This method includes HttpInfo object to return additional information.

Parameters

NameTypeDescription
liffIdstringID of the LIFF app to be updated
updateLiffAppRequestUpdateLiffAppRequest

Returns

Promise<ApiResponseType<MessageAPIResponseBase>>

See

Documentation

Defined in

lib/liff/api/liffClient.ts:165