Appearance
@line/bot-sdk / liff / LiffClient
Class: LiffClient
Defined in: lib/liff/api/liffClient.ts:37
Constructors
new LiffClient()
new LiffClient(
config
):LiffClient
Defined in: lib/liff/api/liffClient.ts:40
Parameters
config
httpClientConfig
Returns
Methods
addLIFFApp()
addLIFFApp(
addLiffAppRequest
):Promise
<AddLiffAppResponse
>
Defined in: lib/liff/api/liffClient.ts:70
Adding the LIFF app to a channel
Parameters
addLiffAppRequest
Returns
Promise
<AddLiffAppResponse
>
See
addLIFFAppWithHttpInfo()
addLIFFAppWithHttpInfo(
addLiffAppRequest
):Promise
<ApiResponseType
<AddLiffAppResponse
>>
Defined in: lib/liff/api/liffClient.ts:84
Adding the LIFF app to a channel. This method includes HttpInfo object to return additional information.
Parameters
addLiffAppRequest
Returns
Promise
<ApiResponseType
<AddLiffAppResponse
>>
See
deleteLIFFApp()
deleteLIFFApp(
liffId
):Promise
<MessageAPIResponseBase
>
Defined in: lib/liff/api/liffClient.ts:101
Deletes a LIFF app from a channel.
Parameters
liffId
string
ID of the LIFF app to be updated
Returns
Promise
<MessageAPIResponseBase
>
See
Delete LIFF app from a channel Documentation
deleteLIFFAppWithHttpInfo()
deleteLIFFAppWithHttpInfo(
liffId
):Promise
<ApiResponseType
<MessageAPIResponseBase
>>
Defined in: lib/liff/api/liffClient.ts:115
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
>>
See
Delete LIFF app from a channel Documentation
getAllLIFFApps()
getAllLIFFApps():
Promise
<GetAllLiffAppsResponse
>
Defined in: lib/liff/api/liffClient.ts:131
Gets information on all the LIFF apps added to the channel.
Returns
Promise
<GetAllLiffAppsResponse
>
See
Get all LIFF apps Documentation
getAllLIFFAppsWithHttpInfo()
getAllLIFFAppsWithHttpInfo():
Promise
<ApiResponseType
<GetAllLiffAppsResponse
>>
Defined in: lib/liff/api/liffClient.ts:142
Gets information on all the LIFF apps added to the channel.. This method includes HttpInfo object to return additional information.
Returns
Promise
<ApiResponseType
<GetAllLiffAppsResponse
>>
See
Get all LIFF apps Documentation
updateLIFFApp()
updateLIFFApp(
liffId
,updateLiffAppRequest
):Promise
<MessageAPIResponseBase
>
Defined in: lib/liff/api/liffClient.ts:158
Update LIFF app settings
Parameters
liffId
string
ID of the LIFF app to be updated
updateLiffAppRequest
Returns
Promise
<MessageAPIResponseBase
>
See
Update LIFF app from a channel Documentation
updateLIFFAppWithHttpInfo()
updateLIFFAppWithHttpInfo(
liffId
,updateLiffAppRequest
):Promise
<ApiResponseType
<MessageAPIResponseBase
>>
Defined in: lib/liff/api/liffClient.ts:175
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
Returns
Promise
<ApiResponseType
<MessageAPIResponseBase
>>