[@aiteq/messenger-bot](../README.md) > [BotConfig](../interfaces/botconfig.md) # Interface: BotConfig Represents configuration object for BotServer. ## Properties ### `accessToken` A [Page Access Token](https://developers.facebook.com/docs/messenger-platform/guides/setup#page_access_token) for calling Messenger Platform API. **type**: `string` ___ ### `appSecret` An [App Secret](https://stackoverflow.com/questions/3203649/where-can-i-find-my-facebook-application-id-and-secret-key) of your FB application. It's used for verifying webhook request signatures. **type**: `string` ___ ### «optional» `askTimeout` Number of milliseconds to expire unanswered asking during conversation. **type**: `number` ___ ### «optional» `extensionsPath` A custom endpoint name for Chat Extensions. Default value: `"/ext"`. **type**: `string` ___ ### «optional» `name` A name of the bot. Optional. It's used only for logging in this time. **type**: `string` ___ ### «optional» `pingPath` A custom endpoint name for the ping service. Default value: `"/ping"`. **type**: `string` ___ ### «optional» `port` 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)` ___ ### `verifyToken` A [Verify Token](https://developers.facebook.com/docs/messenger-platform/guides/setup#webhook_setup) for webhook setup. **type**: `string` ___ ### «optional» `webhookPath` A custom endpoint name for webhook. Default value: `"/webhook"`. **type**: `string` ___