mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
Fix some "unused imports" warnings
This commit is contained in:
parent
d9a974472a
commit
553ffd928b
5 changed files with 7 additions and 12 deletions
|
@ -1,6 +1,4 @@
|
|||
use crate::core::types::{
|
||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
||||
};
|
||||
use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
|
||||
|
||||
#[derive(Debug, Serialize, PartialEq, Clone)]
|
||||
pub struct InlineQueryResultContact {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
use crate::core::types::{
|
||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
||||
};
|
||||
use crate::core::types::InlineKeyboardMarkup;
|
||||
|
||||
#[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)]
|
||||
pub struct InlineQueryResultGame {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
use crate::core::types::{
|
||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
||||
};
|
||||
use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
|
||||
|
||||
#[derive(Debug, Serialize, PartialEq, Clone)]
|
||||
pub struct InlineQueryResultLocation {
|
||||
|
|
|
@ -2,6 +2,9 @@ use crate::core::types::{
|
|||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
||||
};
|
||||
|
||||
/// Represents a link to a photo. By default, this photo will be sent by the
|
||||
/// user with optional caption. Alternatively, you can use input_message_content
|
||||
/// to send a message with the specified content instead of the photo.
|
||||
#[derive(Debug, Serialize, PartialEq, Clone)]
|
||||
pub struct InlineQueryResultPhoto {
|
||||
pub id: String,
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
use crate::core::types::{
|
||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
||||
};
|
||||
use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
|
||||
|
||||
#[derive(Debug, Serialize, PartialEq, Clone)]
|
||||
pub struct InlineQueryResultVenue {
|
||||
|
|
Loading…
Reference in a new issue