From 4177d20e54a3d13120c748f865be462c091cbe1b Mon Sep 17 00:00:00 2001
From: Waffle <wafflewafflerov@gmail.com>
Date: Thu, 7 Nov 2019 01:24:13 +0300
Subject: [PATCH] Derive `From` for `ChatId` again

---
 src/requests/mod.rs  | 2 +-
 src/types/chat_id.rs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/requests/mod.rs b/src/requests/mod.rs
index 2192bc24..46acd180 100644
--- a/src/requests/mod.rs
+++ b/src/requests/mod.rs
@@ -73,4 +73,4 @@ pub mod payloads {
 
         send_animation::SendAnimation,
     };
-}
\ No newline at end of file
+}
diff --git a/src/types/chat_id.rs b/src/types/chat_id.rs
index a3f02f0e..c1c0a9eb 100644
--- a/src/types/chat_id.rs
+++ b/src/types/chat_id.rs
@@ -1,6 +1,6 @@
 /// Unique identifier for the target chat or username of the target channel (in
 /// the format `@channelusername`)
-#[derive(Debug, Display, PartialEq, Eq, Hash, Clone, Deserialize, Serialize)]
+#[derive(Debug, Display, PartialEq, Eq, Hash, Clone, Deserialize, Serialize, From)]
 #[serde(untagged)]
 pub enum ChatId {
     /// chat identifier