mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Update message.py
deleted parse_mode arg from send_copy args
This commit is contained in:
parent
bbfc994073
commit
37e6428b7b
1 changed files with 1 additions and 2 deletions
|
|
@ -1570,7 +1570,6 @@ class Message(base.TelegramObject):
|
||||||
disable_notification: typing.Optional[bool] = None,
|
disable_notification: typing.Optional[bool] = None,
|
||||||
reply_to_message_id: typing.Optional[int] = None,
|
reply_to_message_id: typing.Optional[int] = None,
|
||||||
reply_markup: typing.Union[InlineKeyboardMarkup, ReplyKeyboardMarkup, None] = None,
|
reply_markup: typing.Union[InlineKeyboardMarkup, ReplyKeyboardMarkup, None] = None,
|
||||||
parse_mode: typing.Union[base.String, None] = None,
|
|
||||||
) -> Message:
|
) -> Message:
|
||||||
"""
|
"""
|
||||||
Send copy of current message
|
Send copy of current message
|
||||||
|
|
@ -1585,7 +1584,7 @@ class Message(base.TelegramObject):
|
||||||
kwargs = {
|
kwargs = {
|
||||||
"chat_id": chat_id,
|
"chat_id": chat_id,
|
||||||
"reply_markup": reply_markup or self.reply_markup,
|
"reply_markup": reply_markup or self.reply_markup,
|
||||||
"parse_mode": parse_mode or ParseMode.HTML
|
"parse_mode": ParseMode.HTML
|
||||||
}
|
}
|
||||||
text = self.html_text if (self.text or self.caption) else None
|
text = self.html_text if (self.text or self.caption) else None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue