Channel
The generic definition of the different types an Eludris “channel” can be.
TEXT
A sphere text channel.
Field | Type | Description |
---|---|---|
type | "TEXT" | The type of this Channel variant. |
id | Number | The ID of this text channel. |
sphere_id | Number | The ID of the sphere that this text channel belongs to. |
name | String | The name of this text channel. |
topic? | String | The topic of this text channel. |
position | Number | This text channel’s position inside of its sphere. |
category_id | Number | The ID of the category this channel belongs to. |
VOICE
A sphere voice channel.
Field | Type | Description |
---|---|---|
type | "VOICE" | The type of this Channel variant. |
id | Number | The ID of this voice channel. |
sphere_id | Number | The ID of the sphere that this voice channel belongs to. |
name | String | The name of this voice channel. |
position | Number | This voice channel’s position inside of its sphere. |
category_id | Number | The ID of the category this channel belongs to. |
GROUP
A group channel.
Field | Type | Description |
---|---|---|
type | "GROUP" | The type of this Channel variant. |
id | Number | The ID of this group channel. |
owner | User | The owner of this group channel. |
name | String | The name of this group channel. |
members | Array of Users | The list of members inside this group channel. |
icon? | Number | The file ID of this group channel’s icon. |
topic? | String | The topic of this group channel. |
DIRECT
A direct message channel.
Field | Type | Description |
---|---|---|
type | "DIRECT" | The type of this Channel variant. |
id | Number | The ID of this direct message channel. |
owner | User | The owner of this direct message channel. |
recipient | User | The recipient of this direct message channel. |