mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-18 15:20:15 +01:00
Fix deprecation version (core and main crates have different versions..)
This commit is contained in:
parent
48c8f935a5
commit
b8f3e0e005
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ impl Update {
|
||||||
Some(chat)
|
Some(chat)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deprecated(note = "renamed to `from`", since = "0.13.0")]
|
#[deprecated(note = "renamed to `from`", since = "0.10.0")]
|
||||||
pub fn user(&self) -> Option<&User> {
|
pub fn user(&self) -> Option<&User> {
|
||||||
self.from()
|
self.from()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue