aboutsummaryrefslogtreecommitdiff
path: root/src/schemas/message_schema.py
blob: e135a2e94680e0b0b06f7c13bdc909a4dc5c8945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from pydantic import BaseModel


class Message(BaseModel):
    timestamp: str
    message_id: int
    author_id: int
    channel_id: int
    stickers: list[str]
    role_mentions: list[int]
    mention_everyone: bool
    mentions: list[int]
    attachments: list[str]
    content: str