Просмотр исходного кода

Merge pull request #3476 from weseek/imprv/gw5282-add-one-button

Imprv/gw5282 add one button
Yuki Takei 5 лет назад
Родитель
Сommit
9d9f34693e
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      src/server/service/bolt.js

+ 8 - 0
src/server/service/bolt.js

@@ -236,6 +236,14 @@ class BoltService {
           {
             type: 'actions',
             elements: [
+              {
+                type: 'button',
+                text: {
+                  type: 'plain_text',
+                  text: 'Next',
+                },
+                action_id: 'showNextResults',
+              },
               {
                 type: 'button',
                 text: {