Keyboard class
簡化建置鍵盤卡片的卡片產生器類別。
建構函式
| Keyboard(Session) | 建立新的 ThumbnailCard。 |
方法
| buttons(ICard |
適用於目前卡片的一組動作。 並非所有頻道都支援按鈕或具有按鈕的卡片。 某些通道可能會選擇使用自訂鍵盤來轉譯按鈕。 |
| to |
傳回卡片的 JSON |
建構函式詳細資料
Keyboard(Session)
方法詳細資料
buttons(ICardAction[] | IIsCardAction[])
適用於目前卡片的一組動作。 並非所有頻道都支援按鈕或具有按鈕的卡片。 某些通道可能會選擇使用自訂鍵盤來轉譯按鈕。
function buttons(list: ICardAction[] | IIsCardAction[])
參數
- list
-
ICardAction[] | IIsCardAction[]