Store typed timer in ChatEphemeralTimerModified event

This commit is contained in:
Alexander Krotov
2020-07-10 02:55:17 +03:00
parent e5d5009d6a
commit f28a0db7d0
3 changed files with 7 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ impl ChatId {
context.emit_event(Event::ChatEphemeralTimerModified {
chat_id: self,
timer: timer.to_u32(),
timer,
});
Ok(())
}