Добавлен эндпоинт get_channel_emotes
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user