# Tmmtmm SDK

## Initialize SDK

```typescript
const imSdk = IMSdk.getInstance('你的ak', IMEnvironmentType.alpha);
imSdk.setDelegate({
    onAuth: (auid: string, resolve: (auth: string) => void) => {
        //authCode 从商户端服务端获取
        resolve(auth)
    },
});
```

## Init User

```typescript
imSdk.initUser(auid: string)
```

## Create Chat

```typescript
imSdk.initUser(auid: string)
```
