Skip to content

@line/bot-sdkDocs


@line/bot-sdk / liff / LiffClient

Class: LiffClient

Constructors

new LiffClient()

new LiffClient(config): LiffClient

Parameters

config: httpClientConfig

Returns

LiffClient

Defined in

lib/liff/api/liffClient.ts:40

Methods

addLIFFApp()

addLIFFApp(addLiffAppRequest): Promise<AddLiffAppResponse>

Adding the LIFF app to a channel

Parameters

addLiffAppRequest: AddLiffAppRequest

Returns

Promise<AddLiffAppResponse>

Summary

Create LIFF app

See

Create LIFF app Documentation

Defined in

lib/liff/api/liffClient.ts:70


addLIFFAppWithHttpInfo()

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

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

Parameters

addLiffAppRequest: AddLiffAppRequest

Returns

Promise<ApiResponseType<AddLiffAppResponse>>

Summary

Create LIFF app

See

Create LIFF app Documentation

Defined in

lib/liff/api/liffClient.ts:84


deleteLIFFApp()

deleteLIFFApp(liffId): Promise<MessageAPIResponseBase>

Deletes a LIFF app from a channel.

Parameters

liffId: string

ID 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:101


deleteLIFFAppWithHttpInfo()

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

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

Parameters

liffId: string

ID 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:115


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:131


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:142


updateLIFFApp()

updateLIFFApp(liffId, updateLiffAppRequest): Promise<MessageAPIResponseBase>

Update LIFF app settings

Parameters

liffId: string

ID of the LIFF app to be updated

updateLiffAppRequest: UpdateLiffAppRequest

Returns

Promise<MessageAPIResponseBase>

Summary

Update LIFF app from a channel

See

Update LIFF app from a channel Documentation

Defined in

lib/liff/api/liffClient.ts:158


updateLIFFAppWithHttpInfo()

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

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

Parameters

liffId: string

ID of the LIFF app to be updated

updateLiffAppRequest: UpdateLiffAppRequest

Returns

Promise<ApiResponseType<MessageAPIResponseBase>>

Summary

Update LIFF app from a channel

See

Update LIFF app from a channel Documentation

Defined in

lib/liff/api/liffClient.ts:175