class BotChatEmitter

extends EventEmitter

Constructor

constructor(options, bot)

Parameters

options: BotChatEmitterOptions

The options for the event emitter.

bot: Bot

The active Bot instance.

Properties

emitting: boolean

Whether the emitter is emitting events.

Methods

start()

Start polling the chat log endpoint.

stop()

Stop emitting events.

poll()

Poll the chat log endpoint.