forked from jmug/stoatchat
Finish implementing all routes.
This commit is contained in:
@@ -4,7 +4,10 @@ use serde::{ Deserialize, Serialize };
|
||||
pub struct Channel {
|
||||
#[serde(rename = "_id")]
|
||||
pub id: String,
|
||||
#[serde(rename = "type")]
|
||||
pub channel_type: u8,
|
||||
|
||||
pub last_message: Option<String>,
|
||||
|
||||
// for Direct Messages
|
||||
pub recipients: Option<Vec<String>>,
|
||||
|
||||
Reference in New Issue
Block a user