Skip to content

@line/bot-sdk / Exports / liff

Namespace: liff

Table of contents

Namespaces

Classes

Type Aliases

Type Aliases

AddLiffAppRequest

Ƭ AddLiffAppRequest: Object

Type declaration

NameTypeDescription
botPrompt?LiffBotPromptSee botPrompt Documentation
description?stringName of the LIFF app. The LIFF app name can't include "LINE" or similar strings, or inappropriate strings. See description Documentation
features?LiffFeaturesSee features Documentation
permanentLinkPattern?stringHow additional information in LIFF URLs is handled. Specify concat. See permanentLinkPattern Documentation
scope?LiffScope[]See scope Documentation
viewLiffViewSee view Documentation

Defined in

lib/liff/model/addLiffAppRequest.ts:18

lib/liff/model/addLiffAppRequest.ts:53


AddLiffAppResponse

Ƭ AddLiffAppResponse: Object

LIFF server API LIFF Server API.

The version of the OpenAPI document: 1.0.0

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

Type declaration

NameType
liffIdstring

Defined in

lib/liff/model/addLiffAppResponse.ts:13


GetAllLiffAppsResponse

Ƭ GetAllLiffAppsResponse: Object

Type declaration

NameType
apps?LiffApp[]

Defined in

lib/liff/model/getAllLiffAppsResponse.ts:15


LiffApp

Ƭ LiffApp: Object

Type declaration

NameTypeDescription
botPrompt?LiffBotPrompt
description?stringName of the LIFF app
features?LiffFeatures
liffId?stringLIFF app ID
permanentLinkPattern?stringHow additional information in LIFF URLs is handled. concat is returned.
scope?LiffScope[]
view?LiffView

Defined in

lib/liff/model/liffApp.ts:18

lib/liff/model/liffApp.ts:45


LiffBotPrompt

Ƭ LiffBotPrompt: "normal" | "aggressive" | "none"

Specify the setting for bot link feature with one of the following values: normal: Display the option to add the LINE Official Account as a friend in the channel consent screen. aggressive: Display a screen with the option to add the LINE Official Account as a friend after the channel consent screen. none: Don't display the option to add the LINE Official Account as a friend. The default value is none.

Defined in

lib/liff/model/liffBotPrompt.ts:17


LiffFeatures

Ƭ LiffFeatures: Object

LIFF server API LIFF Server API.

The version of the OpenAPI document: 1.0.0

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

Type declaration

NameTypeDescription
ble?booleantrue if the LIFF app supports Bluetooth® Low Energy for LINE Things. false otherwise.
qrCode?booleantrue to use the 2D code reader in the LIFF app. false otherwise. The default value is false.

Defined in

lib/liff/model/liffFeatures.ts:13


LiffScope

Ƭ LiffScope: "openid" | "email" | "profile" | "chat_message.write"

Array of scopes required for some LIFF SDK methods to function. The default value is [\"profile\", \"chat_message.write\"].

Defined in

lib/liff/model/liffScope.ts:17


LiffView

Ƭ LiffView: Object

LIFF server API LIFF Server API.

The version of the OpenAPI document: 1.0.0

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

Type declaration

NameTypeDescription
moduleMode?booleantrue to use the LIFF app in modular mode. When in modular mode, the action button in the header is not displayed. See moduleMode Documentation
typeTypeEnumSize of the LIFF app view. Specify one of these values: - compact - tall - full See type Documentation
urlstringEndpoint URL. This is the URL of the web app that implements the LIFF app (e.g. https://example.com). Used when the LIFF app is launched using the LIFF URL. The URL scheme must be https. URL fragments (#URL-fragment) can't be specified. See url Documentation

Defined in

lib/liff/model/liffView.ts:13

lib/liff/model/liffView.ts:34


UpdateLiffAppRequest

Ƭ UpdateLiffAppRequest: Object

Type declaration

NameTypeDescription
botPrompt?LiffBotPromptSee botPrompt Documentation
description?stringName of the LIFF app. The LIFF app name can't include "LINE" or similar strings, or inappropriate strings. See description Documentation
features?LiffFeaturesSee features Documentation
permanentLinkPattern?stringHow additional information in LIFF URLs is handled. Specify concat. See permanentLinkPattern Documentation
scope?LiffScope[]See scope Documentation
view?LiffViewSee view Documentation

Defined in

lib/liff/model/updateLiffAppRequest.ts:18

lib/liff/model/updateLiffAppRequest.ts:53