# getGroupLinkDetail

## api.getGroupLinkDetail(groupId)

### Parameters

* groupId `string`

### Return

`Promise<GetGroupLinkDetailResponse>`

### Types

```typescript
export type GetGroupLinkDetailResponse = {
    link?: string;
    expiration_date?: number;
    /**
     * 1: enabled, 0: disabled
     */
    enabled: number;
};
```

### Examples

```typescript
const groupId = "0000000000000000000";
api.getGroupLinkDetail(groupId)
    .then(console.log)
    .catch(console.error);
```
