Skip to content

Commit

Permalink
chore: add links to API References
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Feb 5, 2024
1 parent 6920061 commit 8807a64
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/keyboards/force-reply-keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice [privacy mode](https://core.telegram.org/bots/features#privacy-mode).

See also [API Reference](https://tsdocs.dev/docs/@gramio/keyboards/classes/ForceReplyKeyboard.html).

## Import

### With GramIO
Expand Down
2 changes: 2 additions & 0 deletions docs/keyboards/inline-keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Inline Keyboard is attached to the message. Represents an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) that appears right next to the message it belongs to.

See also [API Reference](https://tsdocs.dev/docs/@gramio/keyboards/classes/InlineKeyboard.html).

## Import

### With GramIO
Expand Down
2 changes: 2 additions & 0 deletions docs/keyboards/keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
This keyboard is shown under the input field and also known as Reply/Custom Keyboard.
Represents a [custom keyboard](https://core.telegram.org/bots/features#keyboards) with reply options (see [Introduction to bots](https://core.telegram.org/bots/features#keyboards) for details and examples).

See also [API Reference](https://tsdocs.dev/docs/@gramio/keyboards/classes/ForceReplyKeyboard.html)

## Import

### With GramIO
Expand Down
2 changes: 2 additions & 0 deletions docs/keyboards/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[`@gramio/keyboards`](https://github.com/gramiojs/keyboards) is built-in GramIO plugin. You can also use it outside of this framework because it is framework-agnostic.

See also [API Reference](https://tsdocs.dev/docs/@gramio/keyboards).

### Installation (not required for GramIO users)

::: code-group
Expand Down
2 changes: 2 additions & 0 deletions docs/keyboards/remove-keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see [ReplyKeyboardMarkup](https://core.telegram.org/bots/api/#replykeyboardmarkup)).

See also [API Reference](https://tsdocs.dev/docs/@gramio/keyboards/classes/RemoveKeyboard.html).

## Import

### With GramIO
Expand Down

0 comments on commit 8807a64

Please sign in to comment.