You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

message.py 199B

12345678910
  1. from typing import Optional
  2. from pydantic import BaseModel
  3. class Message(BaseModel):
  4. sender_name: str
  5. timestamp_ms: int
  6. content: Optional[str] = None
  7. is_geoblocked_for_viewer: bool