@aiteq/messenger-bot > BotConfig
Represents configuration object for BotServer.
A Page Access Token for calling Messenger Platform API.
type: string
An App Secret of your FB application. It's used for verifying webhook request signatures.
type: string
Number of milliseconds to expire unanswered asking during conversation.
type: number
A custom endpoint name for Chat Extensions. Default value: "/ext"
.
type: string
A name of the bot. Optional. It's used only for logging in this time.
type: string
A custom endpoint name for the ping service. Default value: "/ping"
.
type: string
A port number for bot server. Optional. If it is not specified the bot will try to use the process.env.PORT
property or set the port to 8080
.
type: (number | string)
A Verify Token for webhook setup.
type: string
A custom endpoint name for webhook. Default value: "/webhook"
.
type: string