Skip to content

No description of the configuration #81

@davidyell

Description

@davidyell

The documentation seems to lack any description of what the $config variable should contain.

The installation docs under 'Basic Usage without BotMan Studio' stipulate a $config variable, and define it as an array, but not any of the keys.

$config = [
    // Your driver-specific configuration
    // "telegram" => [
    //    "token" => "TOKEN"
    // ]
];

The 'driver-specific configuration' seems to suggest this would be in the driver. However all I could find was the root array key for the driver, but not what any of the configuration key values were.

The BotMan class which takes the $config variable does not type hint $config as an array, so I'm not sure if it has to be an array or not.

My specific use-case is that I'm trying to configure Hipchat, and the documentation for this driver does not detail any of the configuration required.

So I feel at a bit of a dead-end here. This leads me to think there could be some improvements to the documentation made, for those of us who are not using BotMan Studio, or paying for the video course.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions