Appearance
@line/bot-sdk / Exports / liff / LiffClient
Class: LiffClient
liff.LiffClient
Table of contents
Constructors
Methods
- addLIFFApp
- addLIFFAppWithHttpInfo
- deleteLIFFApp
- deleteLIFFAppWithHttpInfo
- getAllLIFFApps
- getAllLIFFAppsWithHttpInfo
- updateLIFFApp
- updateLIFFAppWithHttpInfo
Constructors
constructor
• new LiffClient(config
): LiffClient
Parameters
Name | Type |
---|---|
config | httpClientConfig |
Returns
Defined in
Methods
addLIFFApp
▸ addLIFFApp(addLiffAppRequest
): Promise
<AddLiffAppResponse
>
Adding the LIFF app to a channel
Parameters
Name | Type |
---|---|
addLiffAppRequest | AddLiffAppRequest |
Returns
Promise
<AddLiffAppResponse
>
See
Defined in
addLIFFAppWithHttpInfo
▸ addLIFFAppWithHttpInfo(addLiffAppRequest
): Promise
<ApiResponseType
<AddLiffAppResponse
>>
Adding the LIFF app to a channel. This method includes HttpInfo object to return additional information.
Parameters
Name | Type |
---|---|
addLiffAppRequest | AddLiffAppRequest |
Returns
Promise
<ApiResponseType
<AddLiffAppResponse
>>
See
Defined in
deleteLIFFApp
▸ deleteLIFFApp(liffId
): Promise
<MessageAPIResponseBase
>
Deletes a LIFF app from a channel.
Parameters
Name | Type | Description |
---|---|---|
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
deleteLIFFAppWithHttpInfo
▸ deleteLIFFAppWithHttpInfo(liffId
): Promise
<ApiResponseType
<MessageAPIResponseBase
>>
Deletes a LIFF app from a channel. . This method includes HttpInfo object to return additional information.
Parameters
Name | Type | Description |
---|---|---|
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: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
Name | Type | Description |
---|---|---|
liffId | string | ID of the LIFF app to be updated |
updateLiffAppRequest | UpdateLiffAppRequest |
Returns
Promise
<MessageAPIResponseBase
>
See
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
Name | Type | Description |
---|---|---|
liffId | string | ID of the LIFF app to be updated |
updateLiffAppRequest | UpdateLiffAppRequest |
Returns
Promise
<ApiResponseType
<MessageAPIResponseBase
>>
See