# Class: Message
# Hierarchy
- Message
# Index
# Constructors
# Properties
- attachments
- author
- channel
- channel_type
- content
- embeds
- guild
- id
- member
- mentions
- pinned
- reactions
- replyTo
- stickers
- timestamp
- tts
- type
# Constructors
# constructor
+ new Message(data: MessageRaw, client: Client): Message
Defined in src/structures/Message.ts:24
# Parameters:
| Name | Type | Description |
|---|---|---|
data | MessageRaw | the raw message |
client | Client | the client |
Returns: Message
# Properties
# attachments
• attachments: object
Defined in src/structures/Message.ts:18
# author
• author: object
Defined in src/structures/Message.ts:12
# channel
• channel: Channel
Defined in src/structures/Message.ts:9
# channel_type
• channel_type: number
Defined in src/structures/Message.ts:10
# content
• content: string | object
Defined in src/structures/Message.ts:14
# embeds
• embeds: object
Defined in src/structures/Message.ts:19
# guild
• guild: object
Defined in src/structures/Message.ts:11
# id
• id: string
Defined in src/structures/Message.ts:8
# member
• member: object
Defined in src/structures/Message.ts:13
# mentions
• mentions: object
Defined in src/structures/Message.ts:17
# pinned
• pinned: boolean
Defined in src/structures/Message.ts:21
# reactions
• reactions: object
Defined in src/structures/Message.ts:20
# replyTo
• replyTo: object
Defined in src/structures/Message.ts:24
# stickers
• stickers: object
Defined in src/structures/Message.ts:23
# timestamp
• timestamp: number
Defined in src/structures/Message.ts:15
# tts
• tts: boolean
Defined in src/structures/Message.ts:16
# type
• type: string
Defined in src/structures/Message.ts:22