You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`reply_to_message`bigint UNSIGNED DEFAULT NULL COMMENT 'Message that this message is reply to',
82
-
`edit_date`bigint UNSIGNED DEFAULT NULL COMMENT 'Optional. Date the message was last edited in Unix time',
82
+
`edit_date`bigint UNSIGNED DEFAULT NULL COMMENT 'Date the message was last edited in Unix time',
83
83
`media_group_id`TEXT COMMENT 'The unique identifier of a media message group this message belongs to',
84
84
`author_signature`TEXT COMMENT 'Signature of the post author for messages in channels',
85
85
`text`TEXT COMMENT 'For text messages, the actual UTF-8 text of the message max message length 4096 char utf8mb4',
86
86
`entities`TEXT COMMENT 'For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text',
87
87
`caption_entities`TEXT COMMENT 'For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption',
88
88
`audio`TEXT COMMENT 'Audio object. Message is an audio file, information about the file',
89
89
`document`TEXT COMMENT 'Document object. Message is a general file, information about the file',
90
-
`animation`TEXT COMMENT 'Optional. Message is an animation, information about the animation',
90
+
`animation`TEXT COMMENT 'Message is an animation, information about the animation',
91
91
`game`TEXT COMMENT 'Game object. Message is a game, information about the game',
92
92
`photo`TEXT COMMENT 'Array of PhotoSize objects. Message is a photo, available sizes of the photo',
93
93
`sticker`TEXT COMMENT 'Sticker object. Message is a sticker, information about the sticker',
94
94
`video`TEXT COMMENT 'Video object. Message is a video, information about the video',
95
95
`voice`TEXT COMMENT 'Voice Object. Message is a Voice, information about the Voice',
96
96
`video_note`TEXT COMMENT 'VoiceNote Object. Message is a Video Note, information about the Video Note',
97
+
`caption`TEXT COMMENT 'For message with caption, the actual UTF-8 text of the caption',
97
98
`contact`TEXT COMMENT 'Contact object. Message is a shared contact, information about the contact',
98
99
`location`TEXT COMMENT 'Location object. Message is a shared location, information about the location',
99
100
`venue`TEXT COMMENT 'Venue object. Message is a Venue, information about the Venue',
100
-
`caption`TEXT COMMENT 'For message with caption, the actual UTF-8 text of the caption',
101
101
`new_chat_members`TEXT COMMENT '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)',
102
102
`left_chat_member`bigintNULL DEFAULT NULL COMMENT 'Unique user identifier, a member was removed from the group, information about them (this member may be the bot itself)',
103
103
`new_chat_title`CHAR(255) DEFAULT NULL COMMENT 'A chat title was changed to this value',
@@ -175,11 +175,11 @@ CREATE TABLE IF NOT EXISTS `edited_message` (
`chosen_inline_result_id`bigint UNSIGNED DEFAULT NULL COMMENT 'The result of an inline query that was chosen by a user and sent to their chat partner',
Copy file name to clipboardExpand all lines: utils/db-schema-update/0.54.0-unreleased.sql
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
ALTERTABLE`chat` ADD COLUMN `first_name`CHAR(255) DEFAULT NULL COMMENT 'First name of the other party in a private chat' AFTER `username`;
2
2
ALTERTABLE`chat` ADD COLUMN `last_name`CHAR(255) DEFAULT NULL COMMENT 'Last name of the other party in a private chat' AFTER `first_name`;
3
-
ALTERTABLE`message` ADD COLUMN `animation`TEXTNULL COMMENT 'Optional. Message is an animation, information about the animation' AFTER `document`;
3
+
ALTERTABLE`message` ADD COLUMN `animation`TEXTNULL COMMENT 'Message is an animation, information about the animation' AFTER `document`;
4
4
ALTERTABLE`message` ADD COLUMN `forward_signature`TEXT COMMENT 'For messages forwarded from channels, signature of the post author if present' AFTER `forward_from_message_id`;
5
-
ALTERTABLE`message` ADD COLUMN `edit_date`bigint UNSIGNED DEFAULT NULL COMMENT 'Optional. Date the message was last edited in Unix time' AFTER `reply_to_message`;
5
+
ALTERTABLE`message` ADD COLUMN `edit_date`bigint UNSIGNED DEFAULT NULL COMMENT 'Date the message was last edited in Unix time' AFTER `reply_to_message`;
6
6
ALTERTABLE`message` ADD COLUMN `author_signature`TEXT COMMENT 'Signature of the post author for messages in channels' AFTER `media_group_id`;
7
7
ALTERTABLE`message` ADD COLUMN `caption_entities`TEXT COMMENT 'For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption';
8
8
ALTERTABLE`message` ADD COLUMN `invoice`TEXTNULL COMMENT 'Message is an invoice for a payment, information about the invoice' AFTER `pinned_message`;
0 commit comments