mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added check for is_topic_message
This commit is contained in:
parent
e35ab566f7
commit
5dd860237a
1 changed files with 1 additions and 1 deletions
|
|
@ -2848,7 +2848,7 @@ class Message(base.TelegramObject):
|
|||
"""
|
||||
return await self.bot.forward_message(
|
||||
chat_id=chat_id,
|
||||
message_thread_id=self.message_thread_id if self.is_topic_message else None,
|
||||
message_thread_id=message_thread_id,
|
||||
from_chat_id=self.chat.id,
|
||||
message_id=self.message_id,
|
||||
disable_notification=disable_notification,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue