20 lines
393 B
Python
20 lines
393 B
Python
from __future__ import annotations
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class ChannelStatusRequest(BaseModel):
|
|
channel_id: str | None = None
|
|
account_id: str | None = None
|
|
|
|
|
|
class ChannelStartRequest(BaseModel):
|
|
channel_id: str
|
|
account_id: str | None = None
|
|
|
|
|
|
class ChannelLogoutRequest(BaseModel):
|
|
channel_id: str
|
|
account_id: str | None = None
|
|
logged_out: bool = True
|