Объект ответа полученных подписок Webhook
This commit is contained in:
parent
b69713f996
commit
03a60014d4
16
maxapi/methods/types/getted_subscriptions.py
Normal file
16
maxapi/methods/types/getted_subscriptions.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
from typing import List
|
||||||
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
from ...types.subscription import Subscription
|
||||||
|
|
||||||
|
|
||||||
|
class GettedSubscriptions(BaseModel):
|
||||||
|
|
||||||
|
"""
|
||||||
|
Ответ API с отправленным сообщением.
|
||||||
|
|
||||||
|
Attributes:
|
||||||
|
message (Message): Объект отправленного сообщения.
|
||||||
|
"""
|
||||||
|
|
||||||
|
subscriptions: List[Subscription]
|
Loading…
x
Reference in New Issue
Block a user