Add files via upload
This commit is contained in:
parent
a72d175674
commit
70d983fbca
18
README.md
18
README.md
@ -6,6 +6,7 @@
|
|||||||
![PyPI](https://img.shields.io/pypi/v/pykeyboard)
|
![PyPI](https://img.shields.io/pypi/v/pykeyboard)
|
||||||
[![Downloads](https://pepy.tech/badge/pykeyboard)](https://pepy.tech/project/pykeyboard)
|
[![Downloads](https://pepy.tech/badge/pykeyboard)](https://pepy.tech/project/pykeyboard)
|
||||||
![GitHub](https://img.shields.io/github/license/pystorage/pykeyboard)
|
![GitHub](https://img.shields.io/github/license/pystorage/pykeyboard)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
@ -22,6 +23,10 @@ pip install pykeyboard
|
|||||||
from pykeyboard import InlineKeyboard
|
from pykeyboard import InlineKeyboard
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Parameters:
|
||||||
|
|
||||||
|
- row_width (integer, default 3)
|
||||||
|
|
||||||
#### Inline Keyboard add buttons
|
#### Inline Keyboard add buttons
|
||||||
|
|
||||||
##### Code
|
##### Code
|
||||||
@ -79,6 +84,13 @@ keyboard.row(
|
|||||||
from pykeyboard import ReplyKeyboard
|
from pykeyboard import ReplyKeyboard
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Parameters:
|
||||||
|
|
||||||
|
- resize_keyboard (bool, optional)
|
||||||
|
- one_time_keyboard (bool, optional)
|
||||||
|
- selective (bool, optional)
|
||||||
|
- row_width (integer, default 3)
|
||||||
|
|
||||||
#### Reply Keyboard add buttons
|
#### Reply Keyboard add buttons
|
||||||
|
|
||||||
##### Code
|
##### Code
|
||||||
@ -131,6 +143,12 @@ keyboard.row(KeyboardButton('5', 'reply_keyboard#5'))
|
|||||||
from pykeyboard import InlinePaginationKeyboard
|
from pykeyboard import InlinePaginationKeyboard
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Parameters:
|
||||||
|
|
||||||
|
- count_pages (integer)
|
||||||
|
- current_page (integer)
|
||||||
|
- callback_pattern (string) - use of the <mark>{number} pattern is <ins>required</ins></mark>
|
||||||
|
|
||||||
#### Pagination 3 pages
|
#### Pagination 3 pages
|
||||||
|
|
||||||
##### Code
|
##### Code
|
||||||
|
Reference in New Issue
Block a user