Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pystorage authored Feb 1, 2022
1 parent 4c06e6c commit f147705
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Downloads](https://pepy.tech/badge/pykeyboard)](https://pepy.tech/project/pykeyboard)
![GitHub](https://img.shields.io/github/license/pystorage/pykeyboard)

<p><h2>🎉Thank you for <font color="orange">100k downloads</font>🎉 I love you...🥰</h2></p>
<p><h2>🎉 Thank you for 100k downloads 🎉 I love you...🥰</h2></p>

</div>

Expand All @@ -32,9 +32,9 @@

# What's new?

- Added a new method to <b>InlineKeyboard</b> for working with <a href="#pagination-inline-keyboard"><ins>pagination</ins></a>. The <b>InlinePaginationKeyboard</b> class will be removed in a future version.
- Overriding the <b>KeyboardButton</b>, <b>ReplyKeyboardRemove</b>, <b>ForceReply</b>, <b>InlineKeyboardButton</b> methods in <b>ReplyButton</b>, <b>ReplyKeyboardRemove</b>, <b>ForceReply</b>, <b>InlineButton</b>.
- Added new method <b>InlineKeyboard</b>. To send language <a href="#languages-inline-keyboard"><ins>selection keyboard</ins></a>.
- Added new method <b>InlineKeyboard</b>. To send <a href="#languages-inline-keyboard"><ins>language selection keyboard</ins></a>.
- Minor changes due to update in Pyrogram.

# Installation

Expand Down
2 changes: 1 addition & 1 deletion pykeyboard/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = 'pykeyboard'
__version__ = '0.1.4'
__version__ = '0.1.5'
__author__ = 'PyMaster'
__license__ = 'MIT License'
__copyright__ = 'Copyright 2020-2022 PyMaster'
Expand Down
9 changes: 5 additions & 4 deletions pykeyboard/reply_keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

class ReplyKeyboard(ReplyKeyboardMarkup):
def __init__(self, resize_keyboard=None, one_time_keyboard=None,
selective=None, row_width=3):
selective=None, placeholder=None, row_width=3):
self.keyboard = list()
super().__init__(
keyboard=self.keyboard,
resize_keyboard=resize_keyboard,
one_time_keyboard=one_time_keyboard,
selective=selective
selective=selective,
placeholder=placeholder
)
self.row_width = row_width

Expand Down Expand Up @@ -39,5 +40,5 @@ def __init__(self, selective=None):


class ForceReply(ForceReply):
def __init__(self, selective=None):
super().__init__(selective=selective)
def __init__(self, selective=None, placeholder=None):
super().__init__(selective=selective, placeholder=placeholder)
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Pyrogram==1.1.1
TgCrypto==1.2.2
Pyrogram==1.4.0
TgCrypto==1.2.3
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='pykeyboard',
version='0.1.4',
version='0.1.5',
author='PyMaster',
author_email='',
description='Best Keyboard and Pagination for the Pyrogram Library.',
Expand All @@ -21,6 +21,7 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Internet',
'Topic :: Communications',
'Topic :: Communications :: Chat',
Expand Down

0 comments on commit f147705

Please sign in to comment.