Skip to content

MessageReply

Represents a message reply.

Extends

  • Base<T>

Type parameters

Type parameter
T extends EventSubConnection

Constructors

new MessageReply()

1
new MessageReply<T>(
2
chatbot: ChatBot<T>,
3
data: MessageReply,
4
chatroom: ChatRoom<T>): MessageReply<T>

Creates a new instance of the message reply.

Parameters

ParameterTypeDescription
chatbotChatBot<T>The current instance of the chatbot.
dataMessageReplyThe data of the reply.
chatroomChatRoom<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

PropertyModifierTypeDescriptionInherited from
chatbotreadonlyChatBot<T>The current instance of the chatbot.Base.chatbot
parentreadonlyMessageReplyParent<T>The parent of the reply. This is the message which was replied.-
threadreadonlyMessageReplyThread<T>The thread of the reply. This is the message which started the reply thread.-