Добавлен эндпоинт get_channel_emotes

This commit is contained in:
2025-12-11 16:13:06 +03:00
parent e437b41ee8
commit 947f19afbc
2 changed files with 45 additions and 0 deletions

View File

@ -475,3 +475,31 @@ class Chatters(BaseModel):
data: list[ChattersData]
pagination: Pagination | dict[Any, Any] | None = None
total: int
class ChannelEmoteImages(BaseModel):
model_config = ConfigDict(extra='forbid')
url_1x: str
url_2x: str
url_4x: str
class ChannelEmote(BaseModel):
model_config = ConfigDict(extra='forbid')
id: int
name: str
images: ChannelEmoteImages
tier: int
emote_type: Literal['bitstier', 'follower', 'subscriptions']
format: list[Literal['animated', 'static']]
scale: list[Literal['1.0', '2.0', '3.0']]
theme_mode: list[Literal['dark', 'light']]
class ChannelEmotes(BaseModel):
model_config = ConfigDict(extra='forbid')
data: list[ChannelEmote]
template: str