chatkitty
Version:
OpenAPI client for chatkitty
32 lines (24 loc) • 1.25 kB
Markdown
Creates a public channel
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **string** | | [default to undefined]
**creator** | **object** | Reference to a user | [optional] [default to undefined]
**members** | **Set<object>** | List of user references of members of this channel | [optional] [default to undefined]
**properties** | **{ [key: string]: object; }** | Custom data associated with this channel | [optional] [default to undefined]
**name** | **string** | The unique name of this channel used to reference the channel. If absent defaults to a random UUID | [optional] [default to undefined]
**display_name** | **string** | Human readable name of this channel shown to users. If absent defaults to the channel name | [optional] [default to undefined]
```typescript
import { CreatePublicChannelResource } from 'chatkitty';
const instance: CreatePublicChannelResource = {
type,
creator,
members,
properties,
name,
display_name,
};
```
[[Back to Model list]](../README.md