Add files via upload

This commit is contained in:
PyMaster 2020-06-11 20:15:43 +03:00 committed by GitHub
parent a72d175674
commit 70d983fbca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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