diff --git a/pyrogram/client/types/message.py b/pyrogram/client/types/message.py index ce6d158f..d80c657d 100644 --- a/pyrogram/client/types/message.py +++ b/pyrogram/client/types/message.py @@ -561,7 +561,7 @@ class Message(Object): return self._client.request_callback_answer( chat_id=self.chat.id, message_id=self.message_id, - data=button.callback_data + callback_data=button.callback_data ) elif button.url: return button.url