Skip to content

Latest commit

 

History

History
99 lines (80 loc) · 2.32 KB

api_realtime.rst

File metadata and controls

99 lines (80 loc) · 2.32 KB

Realtime Client

pyryver.ryver_ws

RyverWS

on_chat

on_chat_deleted

on_chat_updated

on_presence_changed

on_user_typing

on_connection_loss

on_error

EVENT_REACTION_ADDED

EVENT_REACTION_REMOVED

EVENT_TOPIC_CHANGED

EVENT_TASK_CHANGED

EVENT_ENTITY_CHANGED

EVENT_ALL

on_event

MSG_TYPE_CHAT

MSG_TYPE_CHAT_UPDATED

MSG_TYPE_CHAT_DELETED

MSG_TYPE_PRESENCE_CHANGED

MSG_TYPE_USER_TYPING

MSG_TYPE_EVENT

MSG_TYPE_ALL

on_msg_type

send_chat

typing

send_typing

send_clear_typing

PRESENCE_AVAILABLE

PRESENCE_AWAY

PRESENCE_DO_NOT_DISTURB

PRESENCE_OFFLINE

send_presence_change

Note

If you use this class as an async with context manager, you don't need to call these two methods, unless you want to break out of a RyverWS.run_forever().

start

close

run_forever

RyverWSTyping

ClosedError

Callback Task Data Types

pyryver.ws_data

WSMessageData

WSChatMessageData

WSChatUpdatedData

WSChatDeletedData

WSPresenceChangedData

WSUserTypingData

WSEventData