Use proper error handling.

This commit is contained in:
Paul Makles
2020-04-07 12:08:07 +01:00
parent badaf8db9d
commit ca0b8411d5
5 changed files with 107 additions and 95 deletions

View File

@@ -6,7 +6,7 @@ pub struct Channel {
pub id: String,
#[serde(rename = "type")]
pub channel_type: u8,
pub last_message: Option<String>,
// for Direct Messages