Chat

<- Voltar ao menu

Chat

Chat

An chat is a virtual space to talk about something with someone.

Attributes

Name

Type

Description

Example

created_at

date-time

the message creation date and time

"2015-01-01T12:00:00Z"

id

integer

unique identifier of the chat

42

message

string

the message that the user is sending

"example"

room_id

integer

the id of the room that the chat belongs to

42

user_id

integer

the id of the user that is sending a message through the chat

42

Chat Info

Info for existing chat.

GET /chat/{chat_id}

Curl Example

Response Example

Chat Create

Create a new chat message

Optional Parameters

Name

Type

Description

Example

message

string

the message that the user is sending

"example"

room_id

integer

unique identifier of the room

42

Curl Example

Response Example

Last updated