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
`id`BIGINT UNSIGNED COMMENT 'Unique identifier for this entry',
43
+
`invite_link`VARCHAR(2083) CHARACTER SET'ascii' COLLATE 'ascii_general_ci'NOT NULL COMMENT 'The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”',
44
+
# IE7 has a 2083 character limit for HTTP GET operations: http://support.microsoft.com/kb/208427
45
+
`creator_id`BIGINTNOT NULL COMMENT 'Creator of the link',
46
+
`is_primary`BOOLEANNOT NULL COMMENT 'True, if the link is primary',
47
+
`is_revoked`BOOLEANNOT NULL COMMENT 'True, if the link is revoked',
48
+
`expire_date`TIMESTAMPNULL COMMENT 'Point in time (Unix TIMESTAMP) when the link will expire or has been expired',
49
+
`member_limit` MEDIUMINT UNSIGNED NULL COMMENT 'Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999',
`id`bigint UNSIGNED COMMENT 'Unique identifier for this query',
43
58
`user_id`bigintNULL COMMENT 'Unique user identifier',
@@ -111,6 +126,7 @@ CREATE TABLE IF NOT EXISTS `message` (
111
126
`group_chat_created`tinyint(1) DEFAULT 0 COMMENT 'Informs that the group has been created',
112
127
`supergroup_chat_created`tinyint(1) DEFAULT 0 COMMENT 'Informs that the supergroup has been created',
113
128
`channel_chat_created`tinyint(1) DEFAULT 0 COMMENT 'Informs that the channel chat has been created',
129
+
`message_auto_delete_timer_changed`TEXT COMMENT 'MessageAutoDeleteTimerChanged object. Message is a service message: auto-delete timer settings changed in the chat',
114
130
`migrate_to_chat_id`bigintNULL DEFAULT NULL COMMENT 'Migrate to chat identifier. The group has been migrated to a supergroup with the specified identifier',
115
131
`migrate_from_chat_id`bigintNULL DEFAULT NULL COMMENT 'Migrate from chat identifier. The supergroup has been migrated from a group with the specified identifier',
116
132
`pinned_message`TEXTNULL COMMENT 'Message object. Specified message was pinned',
@@ -119,6 +135,9 @@ CREATE TABLE IF NOT EXISTS `message` (
119
135
`connected_website`TEXTNULL COMMENT 'The domain name of the website on which the user has logged in.',
`proximity_alert_triggered`TEXTNULL COMMENT 'Service message. A user in the chat triggered another user''s proximity alert while sharing Live Location.',
138
+
`voice_chat_started`TEXT COMMENT 'VoiceChatStarted object. Message is a service message: voice chat started',
139
+
`voice_chat_ended`TEXT COMMENT 'VoiceChatEnded object. Message is a service message: voice chat ended',
140
+
`voice_chat_participants_invited`TEXT COMMENT 'VoiceChatParticipantsInvited object. Message is a service message: new participants invited to a voice chat',
122
141
`reply_markup`TEXTNULL COMMENT 'Inline keyboard attached to the message',
123
142
124
143
PRIMARY KEY (`chat_id`, `id`),
@@ -239,6 +258,21 @@ CREATE TABLE IF NOT EXISTS `poll_answer` (
`id`BIGINT UNSIGNED COMMENT 'Unique identifier for this entry',
263
+
`chat_id`BIGINTNOT NULL COMMENT 'Chat the user belongs to',
264
+
`user_id`BIGINTNOT NULL COMMENT 'Performer of the action, which resulted in the change',
265
+
`date`TIMESTAMPNOT NULL COMMENT 'Date the change was done in Unix time',
266
+
`old_chat_member`TEXTNOT NULL COMMENT 'Previous information about the chat member',
267
+
`new_chat_member`TEXTNOT NULL COMMENT 'New information about the chat member',
268
+
`chat_invite_link_id`BIGINT UNSIGNED NULL COMMENT 'Chat invite link, which was used by the user to join the chat; for joining by invite link events only',
@@ -253,6 +287,8 @@ CREATE TABLE IF NOT EXISTS `telegram_update` (
253
287
`pre_checkout_query_id`bigint UNSIGNED DEFAULT NULL COMMENT 'New incoming pre-checkout query. Contains full information about checkout',
254
288
`poll_id`bigint UNSIGNED DEFAULT NULL COMMENT 'New poll state. Bots receive only updates about polls, which are sent or stopped by the bot',
255
289
`poll_answer_poll_id`bigint UNSIGNED DEFAULT NULL COMMENT 'A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.',
290
+
`my_chat_member_update_id`BIGINT UNSIGNED NULL COMMENT 'The bot''s chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.',
291
+
`chat_member_update_id`BIGINT UNSIGNED NULL COMMENT 'A chat member''s status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify “chat_member” in the list of allowed_updates to receive these updates.',
256
292
257
293
PRIMARY KEY (`id`),
258
294
KEY `message_id` (`message_id`),
@@ -267,6 +303,8 @@ CREATE TABLE IF NOT EXISTS `telegram_update` (
`id`BIGINT UNSIGNED COMMENT 'Unique identifier for this entry'
4
-
PRIMARY KEY,
3
+
`id`BIGINT UNSIGNED COMMENT 'Unique identifier for this entry',
5
4
`invite_link`VARCHAR(2083) CHARACTER SET'ascii' COLLATE 'ascii_general_ci'NOT NULL COMMENT 'The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”',
6
5
# IE7 has a 2083 character limit for HTTP GET operations: http://support.microsoft.com/kb/208427
7
6
`creator_id`BIGINTNOT NULL COMMENT 'Creator of the link',
@@ -10,39 +9,36 @@ CREATE TABLE IF NOT EXISTS `chat_invite_link` (
10
9
`expire_date`TIMESTAMPNULL COMMENT 'Point in time (Unix TIMESTAMP) when the link will expire or has been expired',
11
10
`member_limit` MEDIUMINT UNSIGNED NULL COMMENT 'Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999',
`id`BIGINT UNSIGNED COMMENT 'Unique identifier for this entry'
19
-
PRIMARY KEY,
19
+
`id`BIGINT UNSIGNED COMMENT 'Unique identifier for this entry',
20
20
`chat_id`BIGINTNOT NULL COMMENT 'Chat the user belongs to',
21
21
`user_id`BIGINTNOT NULL COMMENT 'Performer of the action, which resulted in the change',
22
22
`date`TIMESTAMPNOT NULL COMMENT 'Date the change was done in Unix time',
23
23
`old_chat_member`TEXTNOT NULL COMMENT 'Previous information about the chat member',
24
24
`new_chat_member`TEXTNOT NULL COMMENT 'New information about the chat member',
25
25
`chat_invite_link_id`BIGINT UNSIGNED NULL COMMENT 'Chat invite link, which was used by the user to join the chat; for joining by invite link events only',
BIGINT UNSIGNED NULL COMMENT 'The bot''s chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.';
35
+
ALTERTABLE`telegram_update` ADD COLUMN `my_chat_member_update_id`BIGINT UNSIGNED NULL COMMENT 'The bot''s chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.';
BIGINT UNSIGNED NULL COMMENT 'A chat member''s status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify “chat_member” in the list of allowed_updates to receive these updates.';
37
+
ALTERTABLE`telegram_update` ADD COLUMN `chat_member_update_id`BIGINT UNSIGNED NULL COMMENT 'A chat member''s status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify “chat_member” in the list of allowed_updates to receive these updates.';
TEXT COMMENT 'MessageAutoDeleteTimerChanged object. Message is a service message: auto-delete timer settings changed in the chat' AFTER `channel_chat_created`;
TEXT COMMENT 'VoiceChatParticipantsInvited object. Message is a service message: new participants invited to a voice chat' AFTER `voice_chat_ended`;
41
+
ALTERTABLE`message` ADD COLUMN `message_auto_delete_timer_changed`TEXT COMMENT 'MessageAutoDeleteTimerChanged object. Message is a service message: auto-delete timer settings changed in the chat' AFTER `channel_chat_created`;
42
+
ALTERTABLE`message` ADD COLUMN `voice_chat_started`TEXT COMMENT 'VoiceChatStarted object. Message is a service message: voice chat started' AFTER `proximity_alert_triggered`;
43
+
ALTERTABLE`message` ADD COLUMN `voice_chat_ended`TEXT COMMENT 'VoiceChatEnded object. Message is a service message: voice chat ended' AFTER `voice_chat_started`;
44
+
ALTERTABLE`message` ADD COLUMN `voice_chat_participants_invited`TEXT COMMENT 'VoiceChatParticipantsInvited object. Message is a service message: new participants invited to a voice chat' AFTER `voice_chat_ended`;
0 commit comments