@unielon/wallet-tg-sdk
Version:
unielon wallet sdk for telegram
16 lines (15 loc) • 377 B
TypeScript
import { AxiosResponse } from 'axios';
export interface ConnectType {
sendMessage: any;
getMessage: any;
listenerMessage: any;
encryptQuery: any;
decryptQuery: any;
}
export type RequestBody<T> = T;
export type ResponseResult<T> = {
data: T;
message: string;
status: number;
};
export type MessageResponse<T> = AxiosResponse<ResponseResult<T>>;