Skip to content
Send telegramm to your server
PHP CSS JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
public
.gitignore
LICENSE
README.md
composer.json

README.md

Telegramm

Scrutinizer Code Quality Build Status

Command Types

Configuration

Your telegramm configuration is placed in /config folder.

/config
|-- commands    - Commands configuration in JSON files
|-- controllers - PHP Controllers
|-- scripts     - SH Scripts

Commands Configuration

Standard Fields

Required Fields

  • name - command name, must be unique in the system
  • type - type of command

Optional Fields

  • title - Command title (one line description)
  • description - Description of command

Types Configuration

  • Alias
    • Required Fields
      • alias - name of command which is alias of
    • Example
      {
          "name": "help",
          "type": "alias",
          "alias": "list"
      }
  • Command
    • Required Fields
      • command - command line to execute
    • Example
      {
          "name": "list-dir",
          "type": "command",
          "command": "ls -la"
      }
  • Script
  • Controller
You can’t perform that action at this time.