`reply_to_message`bigintUNSIGNEDDEFAULTNULLCOMMENT'Message that this message is reply to',
`text`TEXTDEFAULTNULLCOMMENT'For text messages, the actual UTF-8 text of the message max message length 4096 char utf8mb4',
`entities`TEXTDEFAULTNULLCOMMENT'For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text',
`audio`TEXTDEFAULTNULLCOMMENT'Audio object. Message is an audio file, information about the file',
`document`TEXTDEFAULTNULLCOMMENT'Document object. Message is a general file, information about the file',
`photo`TEXTDEFAULTNULLCOMMENT'Array of PhotoSize objects. Message is a photo, available sizes of the photo',
`sticker`TEXTDEFAULTNULLCOMMENT'Sticker object. Message is a sticker, information about the sticker',
`video`TEXTDEFAULTNULLCOMMENT'Video object. Message is a video, information about the video',
`voice`TEXTDEFAULTNULLCOMMENT'Voice Object. Message is a Voice, information about the Voice',
`contact`TEXTDEFAULTNULLCOMMENT'Contact object. Message is a shared contact, information about the contact',
`location`TEXTDEFAULTNULLCOMMENT'Location object. Message is a shared location, information about the location',
`venue`TEXTDEFAULTNULLCOMMENT'Venue object. Message is a Venue, information about the Venue',
`caption`TEXTDEFAULTNULLCOMMENT'For message with caption, the actual UTF-8 text of the caption',
`text`TEXTCOMMENT'For text messages, the actual UTF-8 text of the message max message length 4096 char utf8mb4',
`entities`TEXTCOMMENT'For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text',
`audio`TEXTCOMMENT'Audio object. Message is an audio file, information about the file',
`document`TEXTCOMMENT'Document object. Message is a general file, information about the file',
`photo`TEXTCOMMENT'Array of PhotoSize objects. Message is a photo, available sizes of the photo',
`sticker`TEXTCOMMENT'Sticker object. Message is a sticker, information about the sticker',
`video`TEXTCOMMENT'Video object. Message is a video, information about the video',
`voice`TEXTCOMMENT'Voice Object. Message is a Voice, information about the Voice',
`contact`TEXTCOMMENT'Contact object. Message is a shared contact, information about the contact',
`location`TEXTCOMMENT'Location object. Message is a shared location, information about the location',
`venue`TEXTCOMMENT'Venue object. Message is a Venue, information about the Venue',
`caption`TEXTCOMMENT'For message with caption, the actual UTF-8 text of the caption',
`new_chat_member`bigintNULLDEFAULTNULLCOMMENT'Unique user identifier, a new member was added to the group, information about them (this member may be bot itself)',
`left_chat_member`bigintNULLDEFAULTNULLCOMMENT'Unique user identifier, a member was removed from the group, information about them (this member may be bot itself)',
`new_chat_title`CHAR(255)DEFAULTNULLCOMMENT'A chat title was changed to this value',
`new_chat_photo`TEXTDEFAULTNULLCOMMENT'Array of PhotoSize objects. A chat photo was change to this value',
`new_chat_photo`TEXTCOMMENT'Array of PhotoSize objects. A chat photo was change to this value',
`delete_chat_photo`tinyint(1)DEFAULT0COMMENT'Informs that the chat photo was deleted',
`group_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the group has been created',
`supergroup_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the supergroup has been created',
`channel_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the channel chat has been created',
`migrate_to_chat_id`bigintNULLDEFAULTNULLCOMMENT'Migrate to chat identifier. The group has been migrated to a supergroup with the specified identifie',
`migrate_from_chat_id`bigintNULLDEFAULTNULLCOMMENT'Migrate from chat identifier. The supergroup has been migrated from a group with the specified identifier',
`pinned_message`TEXTNULLDEFAULTNULLCOMMENT'Message object. Specified message was pinned',
`pinned_message`TEXTNULLCOMMENT'Message object. Specified message was pinned',
PRIMARYKEY(`chat_id`,`id`),
KEY`user_id`(`user_id`),
...
...
@@ -138,29 +138,9 @@ CREATE TABLE IF NOT EXISTS `edited_message` (