UNPKG

chatkitty

Version:
39 lines (31 loc) 1.82 kB
# ChannelResource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | The type of this channel | [default to undefined] **id** | **number** | 64-bit integer identifier associated with this resource | [default to undefined] **created_time** | **string** | The ISO date-time this channel was created | [default to undefined] **creator** | [**ChatUserProperties**](ChatUserProperties.md) | | [optional] [default to undefined] **last_received_message** | [**MessageProperties**](MessageProperties.md) | | [optional] [default to undefined] **properties** | **{ [key: string]: object; }** | Custom data associated with this channel | [default to undefined] **_links** | [**Array<Link>**](Link.md) | Hypermedia control links for this resource | [optional] [default to undefined] **display_name** | **string** | Human readable name of this channel shown to users | [default to undefined] **name** | **string** | The unique name of this channel used to reference the channel | [default to undefined] **members** | [**Array<ChatUserProperties>**](ChatUserProperties.md) | The members of this channel. Present if this is a direct channel. For other channel types, use [**list channel messages**](https://chatkitty.com/docs/api/reference#tag/channels/operation/list-channel-messages) | [default to undefined] ## Example ```typescript import { ChannelResource } from 'chatkitty'; const instance: ChannelResource = { type, id, created_time, creator, last_received_message, properties, _links, display_name, name, members, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)