Emit ChatEphemeralTimerModified when user changes the timer

This commit is contained in:
Alexander Krotov
2020-07-10 02:52:45 +03:00
parent 2071478e11
commit e5d5009d6a
2 changed files with 5 additions and 5 deletions

View File

@@ -176,6 +176,11 @@ impl ChatId {
paramsv![timer, self],
)
.await?;
context.emit_event(Event::ChatEphemeralTimerModified {
chat_id: self,
timer: timer.to_u32(),
});
Ok(())
}