kicksdk.content

Chat message text, with Kick's [emote:id:name] tokens.

 1"""Chat message text, with Kick's ``[emote:id:name]`` tokens."""
 2
 3from . import _call
 4
 5
 6def parse(text: str, combine: bool = False) -> list[dict]:
 7    """Splits text into ``text`` and ``emote`` parts; ``combine`` counts runs."""
 8    return _call("content.parse", text=text, combine=combine)
 9
10
11def emote_url(id: str) -> str:
12    """An emote's image."""
13    return _call("content.emote_url", id=id)
def parse(text: str, combine: bool = False) -> list[dict]:
7def parse(text: str, combine: bool = False) -> list[dict]:
8    """Splits text into ``text`` and ``emote`` parts; ``combine`` counts runs."""
9    return _call("content.parse", text=text, combine=combine)

Splits text into text and emote parts; combine counts runs.

def emote_url(id: str) -> str:
12def emote_url(id: str) -> str:
13    """An emote's image."""
14    return _call("content.emote_url", id=id)

An emote's image.