Description

When a user write in a channel, he will send a web socket event to notifie the other in realtime that he is writing. To not flood the web socket with a lot of event 3 rules have been define

Type of event

WritingEvent = {
  type: 'writing';
  event: {
    channel_id: string;
    thread_id: string;
    user_id: string;
    name: string;
    is_writing: boolean;
  };
};