Fix request_callback_answer call with wrong kwarg

This commit is contained in:
Dan 2018-06-26 14:05:45 +02:00
parent 1510bc12a8
commit 1cc66c898d

View File

@ -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