remove unused function

This commit is contained in:
Waffle 2021-01-26 16:53:49 +03:00
parent cf4330d892
commit eaf72bd97d

View file

@ -110,45 +110,4 @@ mod tests {
.unwrap()
);
}
fn message() -> Message {
Message {
via_bot: None,
id: 0,
date: 0,
chat: Chat {
id: 0,
kind: ChatKind::Private(ChatPrivate {
type_: (),
username: None,
first_name: None,
last_name: None,
}),
photo: None,
},
kind: MessageKind::Common(MessageCommon {
from: Some(User {
id: 0,
is_bot: false,
first_name: "".to_string(),
last_name: None,
username: None,
language_code: None,
}),
forward_kind: ForwardKind::Origin(ForwardOrigin {
reply_to_message: None,
}),
edit_date: None,
media_kind: MediaKind::Text(MediaText {
text: "no yes no".to_string(),
entities: vec![MessageEntity {
kind: MessageEntityKind::Mention,
offset: 3,
length: 3,
}],
}),
reply_markup: None,
}),
}
}
}