您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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