Spaces:
Sleeping
Sleeping
File size: 498 Bytes
0aee47a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
"""
bilibili_api.emoji
表情包相关
"""
from .utils.utils import get_api
from .utils.network import Api
API = get_api("emoji")
async def get_emoji_list(business: str = "reply") -> dict:
"""
获取表情包列表
Args:
business (str): 使用场景, reply / dynamic
Returns:
dict: 调用 API 返回的结果
"""
api = API["list"]
params = {"business": business}
return await Api(**api).update_params(**params).result
|