mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
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(
|
return self._client.request_callback_answer(
|
||||||
chat_id=self.chat.id,
|
chat_id=self.chat.id,
|
||||||
message_id=self.message_id,
|
message_id=self.message_id,
|
||||||
data=button.callback_data
|
callback_data=button.callback_data
|
||||||
)
|
)
|
||||||
elif button.url:
|
elif button.url:
|
||||||
return button.url
|
return button.url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user