v5

latestOpenAPI 3.1.02026-08-082412321010.2 KB
chat

Send a message to a chat room (creates room lazily if needed)

post/v1/chat/messages

Request body

messageType'text' | 'audio' required
contentstring nullable
clientMessageIdstring required
attachmentIdsstring[]
replyToIdstring uuid
type'duel' | 'group' | 'swap' | 'dm' | 'post' | 'clan' required
roomIdstring
channelNamestring
user1Idstring
user2Idstring
namestring
memberIdsstring[]
groupIdstring
tokenIdstring
duelIdstring
postIdstring
clanIdstring

Response

Successful response

idstring required
client_idstring required
room_idstring required
user_idstring required
contentstring nullable required
type'text' | 'audio' | 'system' required
created_atstring required
{"stackTrail":"components:schemas:ChatMessage:properties:system_payload:anyOf","oasType":"schema","type":"unknown","nullable":true}
user_role'owner' | 'admin' | 'member' nullable
deleted_atstring nullable
edited_atstring nullable
pinned_atstring nullable
mentioned_symbolsstring[]
reply_to_idstring nullable
forwarded_from_idstring nullable