pub fn view_messages(mut self, val: bool) -> Self {
        // `true` indicates "take away", but in the builder it makes more sense that `false` means
        // "they won't have this permission". All methods perform this negation for that reason.
        self.inner_mut().rights.view_messages = !val;
        self
    }
/// Whether the user is able to view messages or not. Forbidding someone from viewing messages
/// effectively bans (kicks) them.
Whether the user is able to view messages or not. Forbidding someone from viewing messages
effectively bans (kicks) them.
Whether the user is able to view messages or not . Forbidding someone from viewing messages effectively bans ( kicks ) them .
pub fn view_messages(mut self, val: bool) -> Self {
        // `true` indicates "take away", but in the builder it makes more sense that `false` means
        // "they won't have this permission". All methods perform this negation for that reason.
        self.inner_mut().rights.view_messages = !val;
        self
    }
pub fn view_messages ( mut self , val : bool ) -> Self { // `true` indicates "take away", but in the builder it makes more sense that `false` means // "they won't have this permission". All methods perform this negation for that reason. self . inner_mut ( ) . rights . view_messages = ! val ; self }
Whether the user is able to view messages or not.
Whether the user is able to view messages or not .
mut self
val
bool
mut self
val
bool