mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Removed deprecation warning from Message.send_copy
This commit is contained in:
parent
b2b7ddb639
commit
cd047e8d01
1 changed files with 0 additions and 6 deletions
|
|
@ -37,7 +37,6 @@ from .voice_chat_participants_invited import VoiceChatParticipantsInvited
|
|||
from .voice_chat_started import VoiceChatStarted
|
||||
from ..utils import helper
|
||||
from ..utils import markdown as md
|
||||
from ..utils.deprecated import deprecated
|
||||
from ..utils.text_decorations import html_decoration, markdown_decoration
|
||||
|
||||
|
||||
|
|
@ -2824,11 +2823,6 @@ class Message(base.TelegramObject):
|
|||
message_id=self.message_id,
|
||||
)
|
||||
|
||||
@deprecated(
|
||||
"This method deprecated since Bot API 4.5. Use method `copy_to` instead. \n"
|
||||
"Read more: https://core.telegram.org/bots/api#copymessage",
|
||||
stacklevel=3
|
||||
)
|
||||
async def send_copy(
|
||||
self: Message,
|
||||
chat_id: typing.Union[str, int],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue