Add files via upload

This commit is contained in:
PyMaster 2022-02-01 15:23:57 +03:00 committed by GitHub
parent 4c06e6c5fe
commit f147705d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 11 deletions

View File

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

View File

@ -1,5 +1,5 @@
__title__ = 'pykeyboard'
__version__ = '0.1.4'
__version__ = '0.1.5'
__author__ = 'PyMaster'
__license__ = 'MIT License'
__copyright__ = 'Copyright 2020-2022 PyMaster'

View File

@ -4,13 +4,14 @@ from pyrogram.types import (
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
@ -39,5 +40,5 @@ class ReplyKeyboardRemove(ReplyKeyboardRemove):
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)

View File

@ -1,2 +1,2 @@
Pyrogram==1.1.1
TgCrypto==1.2.2
Pyrogram==1.4.0
TgCrypto==1.2.3

View File

@ -8,7 +8,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
setup(
name='pykeyboard',
version='0.1.4',
version='0.1.5',
author='PyMaster',
author_email='',
description='Best Keyboard and Pagination for the Pyrogram Library.',
@ -21,6 +21,7 @@ setup(
'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',