diff --git a/maxapi/types/attachments/buttons/message_button.py b/maxapi/types/attachments/buttons/message_button.py new file mode 100644 index 0000000..3ea01eb --- /dev/null +++ b/maxapi/types/attachments/buttons/message_button.py @@ -0,0 +1,19 @@ +from pydantic import BaseModel + +from ....enums.button_type import ButtonType + +from .button import Button + + +class MessageButton(Button): + + """ + Кнопка для отправки текста + + Attributes: + type: Тип кнопки (определяет её поведение и функционал) + text: Отправляемый текст + """ + + type: ButtonType = ButtonType.MESSAGE + text: str \ No newline at end of file