mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +00:00
Remove unnecessary check
This commit is contained in:
parent
08776619a7
commit
b753e48732
1 changed files with 1 additions and 4 deletions
|
|
@ -579,10 +579,7 @@ class Message(Object):
|
|||
``TimeoutError``: If, after clicking an inline button, the bot fails to answer within 10 seconds
|
||||
"""
|
||||
if isinstance(self.reply_markup, ReplyKeyboardMarkup):
|
||||
if quote is None:
|
||||
quote = self.chat.type != "private"
|
||||
|
||||
return self.reply(x, quote=quote)
|
||||
return self.reply(x)
|
||||
elif isinstance(self.reply_markup, InlineKeyboardMarkup):
|
||||
if isinstance(x, int) and y is None:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue