PHP Classes

File: assets/config.php

Recommend this page to a friend!
  Classes of Marcel Pociot   BotMan   assets/config.php   Download  
File: assets/config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BotMan
A framework agnostic PHP library to build chat bot
Author: By
Last change:
Date: 1 year ago
Size: 1,266 bytes
 

Contents

Class file image Download
<?php

return [

   
/*
    |--------------------------------------------------------------------------
    | Conversation Cache Time
    |--------------------------------------------------------------------------
    |
    | BotMan caches each started conversation. This value defines the
    | number of minutes that a conversation will remain stored in
    | the cache.
    |
    */
   
'conversation_cache_time' => 40,

   
/*
    |--------------------------------------------------------------------------
    | User Cache Time
    |--------------------------------------------------------------------------
    |
    | BotMan caches user information of the incoming messages.
    | This value defines the number of minutes that this
    | data will remain stored in the cache.
    |
    */
   
'user_cache_time' => 30,

   
/*
    |--------------------------------------------------------------------------
    | cURL Options
    |--------------------------------------------------------------------------
    |
    | BotMan will use this array to prepare every cURL request.
    | The same option can be set per driver in the relative
    | driver configuration file. It uses the
    | curl_setopt_array() function.
    |
    */
   
'curl_options' => [],

];