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',
`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',
`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',
`forward_from`CHAR(255)DEFAULT''COMMENT'User object. For forwarded messages, sender of the original message',
...
@@ -22,5 +22,15 @@ CREATE TABLE `messages` (
...
@@ -22,5 +22,15 @@ CREATE TABLE `messages` (
`delete_chat_photo`tinyint(1)DEFAULT0COMMENT'Informs that the group photo was deleted',
`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',
`group_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the group has been created',