UNPKG

chatkitty

Version:
35 lines (27 loc) 1.59 kB
# DirectChannelResource ## 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] **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] **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] ## Example ```typescript import { DirectChannelResource } from 'chatkitty'; const instance: DirectChannelResource = { type, id, created_time, creator, last_received_message, members, properties, _links, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)