`forward_from`bigintNOTNULLDEFAULT'0'COMMENT'User id. For forwarded messages, sender of the original message',
`forward_date`timestampNOTNULLDEFAULT'0000-00-00 00:00:00'COMMENT'For forwarded messages, date the original message was sent in Unix time',
`reply_to_message`bigintCOMMENT'Message is a reply to another message already stored.',
`text`LONGTEXTCOMMENT'For text messages, the actual UTF-8 text of the message',
`reply_to_message`bigintUNSIGNEDDEFAULTNULLCOMMENT'Message is a reply to another message already stored.',
`text`TEXTCOMMENT'For text messages, the actual UTF-8 text of the message max message length 4096 char utf8',
`audio`TEXTDEFAULT''COMMENT'Audio object. Message is an audio file, information about the file',
`document`TEXTDEFAULT''COMMENT'Document object. Message is a general file, information about the file',
`photo`TEXTDEFAULT''COMMENT'Array of PhotoSize objects. Message is a photo, available sizes of the photo',
`sticker`TEXTDEFAULT''COMMENT'Sticker object. Message is a sticker, information about the sticker',
`video`TEXTDEFAULT''COMMENT'Video object. Message is a video, information about the video',
`voice`TEXTDEFAULT''COMMENT'Voice Object. Message is a Voice, information about the Voice',
`caption`LONGTEXTCOMMENT'For message with caption, the actual UTF-8 text of the caption',
`caption`TEXTCOMMENT'For message with caption, the actual UTF-8 text of the caption',
`contact`TEXTDEFAULT''COMMENT'Contact object. Message is a shared contact, information about the contact',
`location`TEXTDEFAULT''COMMENT'Location object. Message is a shared location, information about the location',
`new_chat_participant`bigintNOTNULLDEFAULT'0'COMMENT'User id. A new member was added to the group, information about them (this member may be bot itself)',
...
...
@@ -45,7 +45,7 @@ CREATE TABLE `users` (
CREATETABLE`chats`(
`id`bigintNOTNULLDEFAULT'0'COMMENT'Unique user or chat identifier',
`type`CHAR(10)DEFAULT''COMMENT'chat type private, group, supergroup or channel',
`type`ENUM('private','group','supergroup','channel')NOTNULLCOMMENT'chat type private, group, supergroup or channel',
`title`CHAR(255)DEFAULT''COMMENT'chat title null if case of single chat with the bot',
`created_at`timestampNOTNULLDEFAULT'0000-00-00 00:00:00'COMMENT'Entry date creation',
`updated_at`timestampNOTNULLDEFAULT'0000-00-00 00:00:00'COMMENT'Entry date update',