Manually construct reply_to for send_message result

Closes #3803.
This commit is contained in:
Lonami Exo 2022-09-20 16:05:48 +02:00
parent 363c2604df
commit 75fe90005f

View File

@ -880,7 +880,8 @@ class MessageMethods:
media=result.media,
entities=result.entities,
reply_markup=request.reply_markup,
ttl_period=result.ttl_period
ttl_period=result.ttl_period,
reply_to=types.MessageReplyHeader(request.reply_to_msg_id)
)
message._finish_init(self, {}, entity)
return message