From 50d1f30ac1db56f28946cec88ec8bad51c331ad8 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:14:19 +0200 Subject: [PATCH] Add missing reply_markup for outgoing bot private messages Fix #656 --- pyrogram/methods/messages/send_message.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyrogram/methods/messages/send_message.py b/pyrogram/methods/messages/send_message.py index 982e4bbb..552a233b 100644 --- a/pyrogram/methods/messages/send_message.py +++ b/pyrogram/methods/messages/send_message.py @@ -155,6 +155,7 @@ class SendMessage(Scaffold): text=message, date=r.date, outgoing=r.out, + reply_markup=reply_markup, entities=[ types.MessageEntity._parse(None, entity, {}) for entity in entities