import { Input } from '../Input' import { InputType } from '../Input' export class Modify extends Input { private messageId: string; private content: string; constructor(name: string, messageId: string, content: string) { super(InputType.Modify, name); this.messageId = messageId; this.content = content; } get MessageId(): string { return this.messageId; } get Content(): string { return this.content; } toJSON(): any { return { type: this.Type, name: this.Name, value: this.Value, importance: this.Importance, attributes: { message_id: this.messageId, content: this.content } } } }