def getparam(video_id, channel_id, past_sec=0, topchat_only=False) -> str:
    """
    Parameter
    ---------
    past_sec : int
        seconds to load past chat data
    topchat_only : bool
        if True, fetch only 'top chat'
    """
    return _build(video_id, channel_id, *_times(past_sec), topchat_only)
Parameter
---------
past_sec : int
seconds to load past chat data
topchat_only : bool
if True, fetch only 'top chat'
biliup/Danmaku/paramgen/liveparam.py