Объект ответа отписки от Webhook
This commit is contained in:
parent
e07aeef726
commit
35b60a1b44
16
maxapi/methods/types/unsubscribed.py
Normal file
16
maxapi/methods/types/unsubscribed.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
from typing import Optional
|
||||||
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
|
||||||
|
class Unsubscribed(BaseModel):
|
||||||
|
|
||||||
|
"""
|
||||||
|
Результат отписки от обновлений на Webhook
|
||||||
|
|
||||||
|
Attributes:
|
||||||
|
success (bool): Статус успешности операции.
|
||||||
|
message (Optional[str]): Дополнительное сообщение или ошибка.
|
||||||
|
"""
|
||||||
|
|
||||||
|
success: bool
|
||||||
|
message: Optional[str] = None
|
Loading…
x
Reference in New Issue
Block a user