Добавлены update_user_chat_color, create_clip, get_clips
This commit is contained in:
@ -640,3 +640,32 @@ class UserChatColor(BaseModel):
|
||||
model_config = ConfigDict(extra='forbid')
|
||||
|
||||
data: list[UserChatColorData]
|
||||
|
||||
|
||||
class Clip(BaseModel):
|
||||
model_config = ConfigDict(extra='forbid')
|
||||
|
||||
id: str
|
||||
url: str
|
||||
embed_url: str
|
||||
broadcaster_id: int
|
||||
broadcaster_name: str
|
||||
creator_id: int
|
||||
creator_name: str
|
||||
video_id: str
|
||||
game_id: int
|
||||
language: str
|
||||
title: str
|
||||
view_count: int
|
||||
created_at: datetime
|
||||
thumbnail_url: str
|
||||
duration: float
|
||||
vod_offset: int | None
|
||||
is_featured: bool
|
||||
|
||||
|
||||
class Clips(BaseModel):
|
||||
model_config = ConfigDict(extra='forbid')
|
||||
|
||||
data: list[Clip]
|
||||
pagination: Pagination | dict[Any, Any] | None = None
|
||||
|
||||
Reference in New Issue
Block a user