freechat/docs/content/structures/channels.md
shockrah a69ad24a45 + Badge structure docs
Also this is a new pattern but I'm going to start actually using those anchor tags
to self link to other places in the page.

+ /badge/new endpoint docs
+ /badge/delete endpoint docs
+ /badge/update/name endpoint docs
+ /badge/update/color endpoint docs
+ /badge/update/perms endpoint docs

! Small point but apparantly this layout is somewhat printer friendly
:^) Just thought that was kinda neat.
2021-07-01 21:09:26 -07:00

25 lines
343 B
Markdown

---
title: Channels
anchor: channels
weight: 35
---
Channels are made up of the following components
Name | Type
:------:|:--------:
id | `u64`
name | `String`
kind | `i32`
description| `String`
badge\_ids| `Array<u32>`
Channels have two valid types or (more semantically) `kind` values:
* Voice Channel = 1
* Text Channel = 2