`reply_to_message`bigintUNSIGNEDDEFAULTNULLCOMMENT'Message that this message is reply to',
`edit_date`bigintUNSIGNEDDEFAULTNULLCOMMENT'Optional. Date the message was last edited in Unix time',
`edit_date`bigintUNSIGNEDDEFAULTNULLCOMMENT'Date the message was last edited in Unix time',
`media_group_id`TEXTCOMMENT'The unique identifier of a media message group this message belongs to',
`author_signature`TEXTCOMMENT'Signature of the post author for messages in channels',
`text`TEXTCOMMENT'For text messages, the actual UTF-8 text of the message max message length 4096 char utf8mb4',
...
...
@@ -87,17 +87,17 @@ CREATE TABLE IF NOT EXISTS `message` (
`caption_entities`TEXTCOMMENT'For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption',
`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',
`animation`TEXTCOMMENT'Optional. Message is an animation, information about the animation',
`animation`TEXTCOMMENT'Message is an animation, information about the animation',
`game`TEXTCOMMENT'Game object. Message is a game, information about the game',
`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',
`video_note`TEXTCOMMENT'VoiceNote Object. Message is a Video Note, information about the Video Note',
`caption`TEXTCOMMENT'For message with caption, the actual UTF-8 text of the caption',
`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_members`TEXTCOMMENT'List of unique user identifiers, new member(s) were added to the group, information about them (one of these members may be the bot itself)',
`left_chat_member`bigintNULLDEFAULTNULLCOMMENT'Unique user identifier, a member was removed from the group, information about them (this member may be the bot itself)',
`new_chat_title`CHAR(255)DEFAULTNULLCOMMENT'A chat title was changed to this value',
...
...
@@ -175,11 +175,11 @@ CREATE TABLE IF NOT EXISTS `edited_message` (
ALTERTABLE`chat`ADDCOLUMN`first_name`CHAR(255)DEFAULTNULLCOMMENT'First name of the other party in a private chat'AFTER`username`;
ALTERTABLE`chat`ADDCOLUMN`last_name`CHAR(255)DEFAULTNULLCOMMENT'Last name of the other party in a private chat'AFTER`first_name`;
ALTERTABLE`message`ADDCOLUMN`animation`TEXTNULLCOMMENT'Optional. Message is an animation, information about the animation'AFTER`document`;
ALTERTABLE`message`ADDCOLUMN`animation`TEXTNULLCOMMENT'Message is an animation, information about the animation'AFTER`document`;
ALTERTABLE`message`ADDCOLUMN`forward_signature`TEXTCOMMENT'For messages forwarded from channels, signature of the post author if present'AFTER`forward_from_message_id`;
ALTERTABLE`message`ADDCOLUMN`edit_date`bigintUNSIGNEDDEFAULTNULLCOMMENT'Optional. Date the message was last edited in Unix time'AFTER`reply_to_message`;
ALTERTABLE`message`ADDCOLUMN`edit_date`bigintUNSIGNEDDEFAULTNULLCOMMENT'Date the message was last edited in Unix time'AFTER`reply_to_message`;
ALTERTABLE`message`ADDCOLUMN`author_signature`TEXTCOMMENT'Signature of the post author for messages in channels'AFTER`media_group_id`;
ALTERTABLE`message`ADDCOLUMN`caption_entities`TEXTCOMMENT'For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption';
ALTERTABLE`message`ADDCOLUMN`invoice`TEXTNULLCOMMENT'Message is an invoice for a payment, information about the invoice'AFTER`pinned_message`;