Skip to content

Commit 22c927d

Browse files
committed
Update to Bot API 6.0
1 parent 171c929 commit 22c927d

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
5+
return new class extends Migration {
6+
public function up()
7+
{
8+
DB::unprepared(file_get_contents(__DIR__ . '/sql/0.76.1-0.77.0.sql'));
9+
}
10+
11+
public function down()
12+
{
13+
//
14+
}
15+
};
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ALTER TABLE `bot_message` ADD COLUMN `web_app_data` TEXT NULL DEFAULT NULL COMMENT 'Service message: data sent by a Web App' AFTER `voice_chat_participants_invited`;
2+
3+
ALTER TABLE `bot_message`
4+
CHANGE `voice_chat_scheduled` `video_chat_scheduled` TEXT COMMENT 'Service message: video chat scheduled',
5+
CHANGE `voice_chat_started` `video_chat_started` TEXT COMMENT 'Service message: video chat started',
6+
CHANGE `voice_chat_ended` `video_chat_ended` TEXT COMMENT 'Service message: video chat ended',
7+
CHANGE `voice_chat_participants_invited` `video_chat_participants_invited` TEXT COMMENT 'Service message: new participants invited to a video chat';

0 commit comments

Comments
 (0)