From df383665dcc66ce897833e2bb0218109dde0ed40 Mon Sep 17 00:00:00 2001 From: Denis Date: Sat, 19 Jul 2025 17:02:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=D0=BD=20RequestContact?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../types/attachments/buttons/request_contact.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/maxapi/types/attachments/buttons/request_contact.py b/maxapi/types/attachments/buttons/request_contact.py index 2c8af5d..d1565fc 100644 --- a/maxapi/types/attachments/buttons/request_contact.py +++ b/maxapi/types/attachments/buttons/request_contact.py @@ -1,8 +1,18 @@ +from typing import Optional + +from ....enums.button_type import ButtonType + from .button import Button -class RequestContact(Button): +class RequestContactButton(Button): + """ - Кнопка с контактом. + Кнопка с контактом + + Args: + text: Текст кнопки """ - ... \ No newline at end of file + + type: ButtonType = ButtonType.REQUEST_CONTACT + text: str \ No newline at end of file