11 lines
415 B
TypeScript
11 lines
415 B
TypeScript
import { LiffCore } from '../liff';
|
|
/**
|
|
* Initializes a LIFF app.
|
|
* You can only call other LIFF SDK methods after calling liff.init().
|
|
* The LIFF SDK gets access tokens and ID tokens from the LINE platform
|
|
* when you initialize the LIFF app.
|
|
*/
|
|
export default function init(this: LiffCore, config: {
|
|
liffId: string;
|
|
}, successCallback?: () => void, errorCallback?: (error: Error) => void): Promise<void>;
|