chatkitty
Version:
OpenAPI client for chatkitty
54 lines (46 loc) • 2.63 kB
Markdown
The message that was sent
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **string** | The type of this message | [default to undefined]
**id** | **number** | 64-bit integer identifier associated with this resource | [default to undefined]
**channel_id** | **number** | The ID of the channel this message belongs to | [default to undefined]
**created_time** | **string** | The time this message was created | [default to undefined]
**group_tag** | **string** | Optional string to associate this message with other messages. Can be used to group messages into a gallery | [optional] [default to undefined]
**last_edited_time** | **string** | The time this message was last edited | [optional] [default to undefined]
**nested_level** | **number** | The nested thread level of this message | [default to undefined]
**properties** | **{ [key: string]: object; }** | Custom data associated with this message | [default to undefined]
**reactions** | [**Array<MessageReactionsSummaryProperties>**](MessageReactionsSummaryProperties.md) | Reactions to this message | [optional] [default to undefined]
**replies_count** | **number** | The number of replies to this message | [optional] [default to undefined]
**report_count** | **number** | The number of times this message has been reported | [optional] [default to undefined]
**_links** | [**Array<Link>**](Link.md) | Hypermedia control links for this resource | [optional] [default to undefined]
**body** | **string** | The text body of this message | [default to undefined]
**links** | [**Array<MessageLinkProperties>**](MessageLinkProperties.md) | Link previews in this message | [optional] [default to undefined]
**mentions** | [**Array<MessageMentionProperties>**](MessageMentionProperties.md) | Mentions in this message | [optional] [default to undefined]
**user** | [**ChatUserProperties**](ChatUserProperties.md) | | [default to undefined]
**file** | [**FileProperties**](FileProperties.md) | | [default to undefined]
```typescript
import { ChatUserMessageResource } from 'chatkitty';
const instance: ChatUserMessageResource = {
type,
id,
channel_id,
created_time,
group_tag,
last_edited_time,
nested_level,
properties,
reactions,
replies_count,
report_count,
_links,
body,
links,
mentions,
user,
file,
};
```
[[Back to Model list]](../README.md