mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 05:24:51 +00:00
Fix request_callback_answer call with wrong kwarg
This commit is contained in:
parent
1510bc12a8
commit
1cc66c898d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue