generated from QuantGeekDev/ts-tg-bot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add boundary checks for property pagination
- Loading branch information
1 parent
256e451
commit 7b90b5a
Showing
5 changed files
with
72 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
import { InlineKeyboard } from "grammy"; | ||
|
||
export const propertyControlKeyboard = new InlineKeyboard() | ||
export const fullPropertyControlKeyboard = new InlineKeyboard() | ||
.text("« Previous Property", "previous-property") | ||
.text("Next Property » ", "next-property"); | ||
|
||
export const nextPropertyControlKeyboard = new InlineKeyboard().text( | ||
"Next Property » ", | ||
"next-property" | ||
); | ||
|
||
export const previousPropertyControlKeyboard = new InlineKeyboard().text( | ||
"« Previous Property", | ||
"previous-property" | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters