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::{
|
use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
|
||||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[derive(Debug, Serialize, PartialEq, Clone)]
|
#[derive(Debug, Serialize, PartialEq, Clone)]
|
||||||
pub struct InlineQueryResultContact {
|
pub struct InlineQueryResultContact {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
use crate::core::types::{
|
use crate::core::types::InlineKeyboardMarkup;
|
||||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)]
|
#[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)]
|
||||||
pub struct InlineQueryResultGame {
|
pub struct InlineQueryResultGame {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
use crate::core::types::{
|
use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
|
||||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[derive(Debug, Serialize, PartialEq, Clone)]
|
#[derive(Debug, Serialize, PartialEq, Clone)]
|
||||||
pub struct InlineQueryResultLocation {
|
pub struct InlineQueryResultLocation {
|
||||||
|
|
|
@ -2,6 +2,9 @@ use crate::core::types::{
|
||||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
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)]
|
#[derive(Debug, Serialize, PartialEq, Clone)]
|
||||||
pub struct InlineQueryResultPhoto {
|
pub struct InlineQueryResultPhoto {
|
||||||
pub id: String,
|
pub id: String,
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
use crate::core::types::{
|
use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
|
||||||
InlineKeyboardMarkup, InputMessageContent, ParseMode,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[derive(Debug, Serialize, PartialEq, Clone)]
|
#[derive(Debug, Serialize, PartialEq, Clone)]
|
||||||
pub struct InlineQueryResultVenue {
|
pub struct InlineQueryResultVenue {
|
||||||
|
|
Loading…
Reference in a new issue