@telegram-apps/bridge
Version:
TypeScript package to provide communication layer between Mini App and Telegram application.
8 lines (7 loc) • 331 B
TypeScript
/**
* @returns True if the passed value is safe to be used to create a start parameter value from it.
* If true is returned, the value can be safely passed to the `createStartParam` function.
* @param value - value to check.
* @see createStartParam
*/
export declare function isSafeToCreateStartParam(value: string): boolean;