Closed gunyu1019 closed 8 months ago
Consider chatting client
ChatClient
connect
wait_for
send_chat
history
Gateway(ChzzkWebsocket)
poll_event
send_ping
send_pong
recent_chat
State(Alias)?
hook
dispatch
parse_chat
parse_donation
parse_resent_chat
parse_notice
parse_blind
parse_penalty
parse_event
Describe the new feature
Consider chatting client
TODO
ChatClient
connect
method (websocket)wait_for
methodsend_chat
methodhistory
methodGateway(ChzzkWebsocket)
poll_event
method to receive datasend_ping
methodsend_pong
methodsend_chat
methodrecent_chat
method (IDK.. I think message history)State(Alias)?
to parse data from websocket.hook
from Gateway anddispatch
to Clientparse_chat
methodparse_donation
methodparse_resent_chat
methodparse_notice
methodparse_blind
methodparse_penalty
methodparse_event
methodAddition Context