From d62f6b8f8dd962c3a2daa2d3c0ef412ea405ab4b Mon Sep 17 00:00:00 2001 From: KurimuzonAkuma Date: Tue, 30 Jul 2024 12:35:40 +0300 Subject: [PATCH] Fix RequestInfo docstrings --- pyrogram/types/bots_and_keyboards/keyboard_button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/types/bots_and_keyboards/keyboard_button.py b/pyrogram/types/bots_and_keyboards/keyboard_button.py index 7bb4d377bb..3137c41d64 100644 --- a/pyrogram/types/bots_and_keyboards/keyboard_button.py +++ b/pyrogram/types/bots_and_keyboards/keyboard_button.py @@ -43,7 +43,7 @@ class KeyboardButton(Object): request_poll (:obj:`~pyrogram.types.RequestPollInfo`, *optional*): If specified, the poll be sent when the button is pressed. - request_peer (:obj:`~pyrogram.types.RequestPeerTypeChannelInfo` | :obj:`~pyrogram.types.RequestPeerTypeChatInfo` | :obj:`~pyrogram.types.RequestPeerTypeUserInfo`, *optional*): + request_peer (:obj:`~pyrogram.types.RequestChannelInfo` | :obj:`~pyrogram.types.RequestChatInfo` | :obj:`~pyrogram.types.RequestUserInfo`, *optional*): If specified, the requested peer will be sent when the button is pressed. web_app (:obj:`~pyrogram.types.WebAppInfo`, *optional*):