mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-23 16:56:24 +01:00
remove unused function
This commit is contained in:
parent
cf4330d892
commit
eaf72bd97d
1 changed files with 0 additions and 41 deletions
|
@ -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,
|
||||
}),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue