Add files via upload
This commit is contained in:
parent
4c06e6c5fe
commit
f147705d4e
@ -7,7 +7,7 @@
|
|||||||
[![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)
|
||||||
|
|
||||||
<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>
|
</div>
|
||||||
|
|
||||||
@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
# What's new?
|
# 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>.
|
- 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
|
# Installation
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
__title__ = 'pykeyboard'
|
__title__ = 'pykeyboard'
|
||||||
__version__ = '0.1.4'
|
__version__ = '0.1.5'
|
||||||
__author__ = 'PyMaster'
|
__author__ = 'PyMaster'
|
||||||
__license__ = 'MIT License'
|
__license__ = 'MIT License'
|
||||||
__copyright__ = 'Copyright 2020-2022 PyMaster'
|
__copyright__ = 'Copyright 2020-2022 PyMaster'
|
||||||
|
@ -4,13 +4,14 @@ from pyrogram.types import (
|
|||||||
|
|
||||||
class ReplyKeyboard(ReplyKeyboardMarkup):
|
class ReplyKeyboard(ReplyKeyboardMarkup):
|
||||||
def __init__(self, resize_keyboard=None, one_time_keyboard=None,
|
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()
|
self.keyboard = list()
|
||||||
super().__init__(
|
super().__init__(
|
||||||
keyboard=self.keyboard,
|
keyboard=self.keyboard,
|
||||||
resize_keyboard=resize_keyboard,
|
resize_keyboard=resize_keyboard,
|
||||||
one_time_keyboard=one_time_keyboard,
|
one_time_keyboard=one_time_keyboard,
|
||||||
selective=selective
|
selective=selective,
|
||||||
|
placeholder=placeholder
|
||||||
)
|
)
|
||||||
self.row_width = row_width
|
self.row_width = row_width
|
||||||
|
|
||||||
@ -39,5 +40,5 @@ class ReplyKeyboardRemove(ReplyKeyboardRemove):
|
|||||||
|
|
||||||
|
|
||||||
class ForceReply(ForceReply):
|
class ForceReply(ForceReply):
|
||||||
def __init__(self, selective=None):
|
def __init__(self, selective=None, placeholder=None):
|
||||||
super().__init__(selective=selective)
|
super().__init__(selective=selective, placeholder=placeholder)
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
Pyrogram==1.1.1
|
Pyrogram==1.4.0
|
||||||
TgCrypto==1.2.2
|
TgCrypto==1.2.3
|
3
setup.py
3
setup.py
@ -8,7 +8,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pykeyboard',
|
name='pykeyboard',
|
||||||
version='0.1.4',
|
version='0.1.5',
|
||||||
author='PyMaster',
|
author='PyMaster',
|
||||||
author_email='',
|
author_email='',
|
||||||
description='Best Keyboard and Pagination for the Pyrogram Library.',
|
description='Best Keyboard and Pagination for the Pyrogram Library.',
|
||||||
@ -21,6 +21,7 @@ setup(
|
|||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
'Programming Language :: Python :: 3.8',
|
'Programming Language :: Python :: 3.8',
|
||||||
'Programming Language :: Python :: 3.9',
|
'Programming Language :: Python :: 3.9',
|
||||||
|
'Programming Language :: Python :: 3.10',
|
||||||
'Topic :: Internet',
|
'Topic :: Internet',
|
||||||
'Topic :: Communications',
|
'Topic :: Communications',
|
||||||
'Topic :: Communications :: Chat',
|
'Topic :: Communications :: Chat',
|
||||||
|
Reference in New Issue
Block a user