Update src/core/requests/stop_message_live_location.rs

Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
Mishko torop'izhko 2019-09-12 18:30:59 +03:00 committed by GitHub
parent f37e41361f
commit 33dd80d49d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ impl<'a> StopMessageLiveLocation<'a> {
} }
pub fn chat_id<T>(mut self, chat_id: T) -> Self pub fn chat_id<T>(mut self, chat_id: T) -> Self
where T: Into<ChatId> where T: Into<ChatId>
{ {
self.chat_id = chat_id.into(); self.chat_id = chat_id.into();
self self