Fix request_callback_answer call with wrong kwarg
This commit is contained in:
parent
1510bc12a8
commit
1cc66c898d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user