VeryChat WebSocket API Docs 2.0.0

VeryChat WebSocket API Docs

Operations

  • RECEIVE /

    Operation IDChatReceiver
    object

    Accepts the following message:

    채팅을 전달받기 위한 Event Listener

    Message IDuser_receive
    oneOf

    Examples

  • SEND /

    Operation IDChatRoomSender
    object

    Accepts the following message:

    채팅방 관련 처리를 위한 EventName

    Message IDchat_room
    oneOf

    Examples

  • SEND /

    Operation IDInitSender
    object

    Accepts the following message:

    유저 로그인 후 세팅을 위한 EventName

    Message IDinit

    [필수] 최초 접속 시, 유저의 기본 세팅을 위해 사용
    [방조인, 유저정보 업데이트, Device 중복체크 등]

    null

    현재 접속중인 ChatRoom과 Channel을 return으로 전달

    Examples

  • SEND /

    Operation IDUserSender
    object

    Accepts the following message:

    User관련 처리를 위한 EventName

    Message IDuser

    User정보 조회 및 Refresh 등에 이용

    oneOf

    Examples

  • SEND /

    Operation IDChannelSender
    object

    Accepts the following message:

    채널 관련 처리를 위한 EventName

    Message IDchannel
    oneOf

    Examples

  • SEND /

    Operation IDChannelChatSender
    object

    Accepts the following message:

    채널 채팅방 관련 처리를 위한 EventName

    Message IDchannel_chat
    oneOf

    Examples