Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
FusionSid edited this page Aug 10, 2022 · 1 revision

Chatrooms

One of the features of this app is chatrooms. Chat rooms similar to irc rooms or group chats are a way for multiple users to communicate. All messages sent in the room are broadcasted to all people in the room. Users can create and join chatrooms.

Chatroom Object:

Chatroom structure:

{
  "room_id": "string",
  "room_name": "string",
  "created_at": integer,
  "room_description": "string"
}

Example Room:

{
  "room_id": 166198832,
  "room_name": "Rickrollers",
  "created_at": 1659055993,
  "room_description": "People who deeply appreciate rick astley"
}

Room Attributes

name type description
room_id integer ID of the room. Used to identify the room and just like user_ids, it cannot be changed.
room_name string Name of the room. Shown to users who join it
room_description string Description of the room. This is optional and can be used to describe what the room is for
created_at integer Unix (UTC) timestamp of when the room was created.
Clone this wiki locally