Struct prelude::Channel
zaun_bot::prelude::Channel · Struct
pub struct Channel { … }Fields
Section titled “Fields”channel_id: Id
Section titled “channel_id: Id”name: String
Section titled “name: String”kind: String
Section titled “kind: String”text, announcement, voice, category, dm, …
topic: Option<String>
Section titled “topic: Option<String>”parent_id: Option<Id>
Section titled “parent_id: Option<Id>”position: u32
Section titled “position: u32”participants: Vec<Id>
Section titled “participants: Vec<Id>”A dm channel’s two members (the bot and the person); empty otherwise.
Trait implementations
Section titled “Trait implementations”Clone, Debug