mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Update src/types/message.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
parent
999928787d
commit
6766ae3137
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ pub enum MessageKind {
|
|||
|
||||
#[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)]
|
||||
pub enum Sender {
|
||||
/// If a message is sent from a chat.
|
||||
/// Sender of a message from chat.
|
||||
#[serde(rename = "from")]
|
||||
User(User),
|
||||
|
||||
|
|
Loading…
Reference in a new issue