@@ -14,7 +14,7 @@ A Telegram Bot based on the official [Telegram Bot API](https://core.telegram.or
## introduction
This is a pure php Telegram Bot, fully extensible via plugins. Telegram recently announced official support for a [Bot API](https://telegram.org/blog/bot-revolution) allowing integrators of all sorts to bring automated interactions to the mobile platform. This Bot aims to provide a platform where one could simply write a plugin and have interactions in a matter of minutes.
This is a pure php Telegram Bot, fully extensible via plugins. Telegram recently announced official support for a [Bot API](https://telegram.org/blog/bot-revolution) allowing integrators of all sorts to bring automated interactions to the mobile platform. This Bot aims to provide a platform where one could simply write a plugin and have interactions in a matter of minutes.
The Bot support Reply Markup and handle commands in the group chat.
...
...
@@ -143,7 +143,7 @@ try {
}
```
If you want insert in database messages for further usage in commands, create database and import structure.sql and enable mysql support after object creation and BEFORE handle method
If you want insert in database messages/users for further usage in commands, create database and import structure.sql and enable mysql support after object creation and BEFORE handle method
`date`int(11)UNSIGNEDCOMMENT'Date the message was sent in Unix time',
`chat`CHAR(255)COMMENT'User or GroupChat object. Conversation the message belongs to — user in case of a private message, GroupChat in case of a group',
`forward_from`CHAR(255)DEFAULT''COMMENT'User object. For forwarded messages, sender of the original message',
...
...
@@ -22,5 +22,15 @@ CREATE TABLE `messages` (
`delete_chat_photo`tinyint(1)DEFAULT0COMMENT'Informs that the group photo was deleted',
`group_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the group has been created',