# TextMessageResource

The message in which the user was mentioned

## Properties

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&lt;MessageReactionsSummaryProperties&gt;**](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&lt;Link&gt;**](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&lt;MessageLinkProperties&gt;**](MessageLinkProperties.md) | Link previews in this message | [optional] [default to undefined]
**mentions** | [**Array&lt;MessageMentionProperties&gt;**](MessageMentionProperties.md) | Mentions in this message | [optional] [default to undefined]
**user** | [**ChatUserProperties**](ChatUserProperties.md) |  | [default to undefined]

## Example

```typescript
import { TextMessageResource } from 'chatkitty';

const instance: TextMessageResource = {
    type,
    id,
    channel_id,
    created_time,
    group_tag,
    last_edited_time,
    nested_level,
    properties,
    reactions,
    replies_count,
    report_count,
    _links,
    body,
    links,
    mentions,
    user,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
