MessageReply
Represents a message reply.
Extends
Base<T>
Type parameters
| Type parameter |
|---|
T extends EventSubConnection |
Constructors
new MessageReply()
1new MessageReply<T>(2 chatbot: ChatBot<T>,3 data: MessageReply,4chatroom: ChatRoom<T>): MessageReply<T>Creates a new instance of the message reply.
Parameters
| Parameter | Type | Description |
|---|---|---|
chatbot | ChatBot<T> | The current instance of the chatbot. |
data | MessageReply | The data of the reply. |
chatroom | ChatRoom<T> | The chatroom where the reply was sent. |
Returns
MessageReply<T>
Overrides
Base<T>.constructor
Source
twitchfy/packages/chatbot/src/structures/MessageReply.ts:37
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
chatbot | readonly | ChatBot<T> | The current instance of the chatbot. | Base.chatbot |
parent | readonly | MessageReplyParent<T> | The parent of the reply. This is the message which was replied. | - |
thread | readonly | MessageReplyThread<T> | The thread of the reply. This is the message which started the reply thread. | - |