Returns true if the message is a system message.
(&self)
| 1086 | |
| 1087 | /// Returns true if the message is a system message. |
| 1088 | pub fn is_system_message(&self) -> bool { |
| 1089 | let cmd = self.param.get_cmd(); |
| 1090 | cmd != SystemMessage::Unknown |
| 1091 | } |
| 1092 | |
| 1093 | /// Sets or unsets message text. |
| 1094 | pub fn set_text(&mut self, text: String) { |