UNPKG

@unielon/wallet-tg-sdk

Version:

unielon wallet sdk for telegram

30 lines (29 loc) 801 B
import { BridgeRequestOptions } from './unielon.ts'; export interface InitOptions { debug?: boolean; bridge?: string; address?: string[]; connect?: string; connect_url?: string; connect_direct_link?: string; request_timeout?: number; injected?: boolean; timeStamp?: number; metaData?: { hostname?: string | undefined | null; icon?: string | null | undefined | String; name?: string | undefined | null; url?: string | undefined | null; description?: string | undefined | null; direct_link?: string | undefined | null; }; } export interface TokenMessageType { method: string; token: string; options: BridgeRequestOptions; } export interface MessageRequestBody { data?: any; token: string; }