Fix clippy `warning: methods called `from_*` usually take no self; consider choosing a less ambiguous name`
(actually just allow that on the `from_chat_id` method cause it is setter for co-named field)
@@ -70,6 +70,7 @@ impl<'a> ForwardMessage<'a> {
self
}
+ #[allow(clippy::wrong_self_convention)]
pub fn from_chat_id<T: Into<ChatId>>(mut self, val: T) -> Self {
self.from_chat_id = val.into();
self
