mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Update src/core/types/message.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
parent
bca625a9b3
commit
a74715f888
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ pub enum ForwardKind {
|
||||||
|
|
||||||
#[derive(Debug, Deserialize, Eq, Hash, PartialEq)]
|
#[derive(Debug, Deserialize, Eq, Hash, PartialEq)]
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
pub enum UserOrSenderName {
|
pub enum ForwardedFrom {
|
||||||
User { from: User },
|
User { from: User },
|
||||||
SenderName { sender_name: String },
|
SenderName { sender_name: String },
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue