@gramio/keyboards
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -110,6 +110,6 @@ type ButtonsIterator<T> = (options: { | ||
*/ | ||
addIf(condition: (options: { | ||
addIf(condition: ((options: { | ||
rowIndex: number; | ||
index: number; | ||
}) => boolean | boolean, ...buttons: T[]): this; | ||
}) => boolean) | boolean, ...buttons: T[]): this; | ||
/** | ||
@@ -116,0 +116,0 @@ * Allows you to create a button matrix. |
{ | ||
"name": "@gramio/keyboards", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Framework-agnostic Telegram bot keyboard builder with many cool features!", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
67031