add/send info-message on protection changes

This commit is contained in:
B. Petersen
2020-10-04 13:47:29 +02:00
parent 49b5962568
commit 5e07a36cd2
5 changed files with 54 additions and 3 deletions

View File

@@ -86,6 +86,10 @@ pub enum SystemMessage {
/// Chat ephemeral message timer is changed.
EphemeralTimerChanged = 10,
// Chat protection state changed
ChatProtectionEnabled = 11,
ChatProtectionDisabled = 12,
}
impl Default for SystemMessage {