Commit 34634ffa authored by MBoretto's avatar MBoretto

Merge branch 'master' into hotfix

synk hotfix to  master
parents 2b0d4ee1 3be45232
This is at least a partial credits-file of people that have
contributed to the current project. It is sorted by name and
formatted to allow easy grepping and beautification by
scripts. The fields are: name (N), email (E), web-address
(W) and description (D).
Thanks,
Avtandil Kikabidze
----------
N: Avtandil Kikabidze aka LONGMAN
E: akalongman@gmail.com
W: http://longman.ge
D: Project owner, Maintainer
N: Marco Boretto
E: marco.bore@gmail.com
D: Maintainer and Collaborator
...@@ -179,7 +179,7 @@ $telegram->addCommandsPath($COMMANDS_FOLDER); ...@@ -179,7 +179,7 @@ $telegram->addCommandsPath($COMMANDS_FOLDER);
``` ```
##Admin Commands (new!) ##Admin Commands (new!)
Enabling this feature, the admin bot can perform some super user command like send message to all. Enabling this feature, the admin bot can perform some super user command like send message to all.
You can specify one or more admin with this option: You can specify one or more admin with this option:
```php ```php
...@@ -187,7 +187,7 @@ $telegram->enableAdmins(array('TelegramUserID','Othersid')); ...@@ -187,7 +187,7 @@ $telegram->enableAdmins(array('TelegramUserID','Othersid'));
``` ```
Telegram user id can be retrieved with the command /whoami. Telegram user id can be retrieved with the command /whoami.
Admin commands are stored in src/Admin/ folder. Admin commands are stored in src/Admin/ folder.
To know all the commands avaiable type /help. To know all the commands avaiable type /help.
##Send message to all active chats ##Send message to all active chats
To do this you have to enable the mysql connection. To do this you have to enable the mysql connection.
...@@ -214,7 +214,7 @@ $telegram->setLogPath($BOT_NAME.'.log'); ...@@ -214,7 +214,7 @@ $telegram->setLogPath($BOT_NAME.'.log');
``` ```
This code is available on [Github][0]. Pull requests are welcome. This code is available on [Github](https://github.com/akalongman/php-telegram-bot). Pull requests are welcome.
##Troubleshooting ##Troubleshooting
...@@ -229,7 +229,5 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for information. ...@@ -229,7 +229,5 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for information.
## Credits ## Credits
Created by [Avtandil Kikabidze][1]. Credit list in [CREDITS](CREDITS)
[0]: https://github.com/akalongman/php-telegram-bot
[1]: mailto:akalongman@gmail.com
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment