18 lines
311 B
Python
18 lines
311 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class StickerResponse(BaseModel):
|
|
id: str
|
|
emoji: str
|
|
emoji_name: str
|
|
is_animated: bool
|
|
png_url: str
|
|
gif_url: str | None = None
|
|
|
|
|
|
class StickerSetResponse(BaseModel):
|
|
name: str
|
|
title: str
|
|
sticker_count: int
|
|
stickers: list[StickerResponse]
|