freechat/docs/content/structures/messages.md
shockrah ba7b33ae62 Fixed broken links for messages endpoint description
 Should probably have a section for messages under structures
2021-03-04 13:21:09 -08:00

549 B

title anchor weight
Messages messages-struct 40
Name Type
id u64
time i64
content String
type String
author_id u64
channel_id u64

Acceptable values

Invites

When requesting a code from /invite/create successful data contains:

Name Type
id i64
uses `null
expires bool

Most clients should format this code for usage as https://domain.net:port/join?code=<id>. The other data is merely for tracking the server's end.