mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Format the code
This commit is contained in:
parent
788006f427
commit
6b0e05cdf7
4 changed files with 9 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
|||
use bytes::Buf;
|
||||
use futures::StreamExt;
|
||||
use reqwest::r#async::{Chunk, Client};
|
||||
use tokio::{
|
||||
io::{AsyncWrite, AsyncWriteExt},
|
||||
stream::Stream,
|
||||
};
|
||||
use bytes::Buf;
|
||||
|
||||
use crate::{
|
||||
network::{file_url, TELEGRAM_API_URL},
|
||||
|
|
|
@ -3,7 +3,7 @@ use reqwest::r#async::{multipart::Form, Client, Response};
|
|||
use serde::{de::DeserializeOwned, Serialize};
|
||||
|
||||
use crate::{
|
||||
network::{method_url, TELEGRAM_API_URL, TelegramResponse},
|
||||
network::{method_url, TelegramResponse, TELEGRAM_API_URL},
|
||||
requests::ResponseResult,
|
||||
RequestError,
|
||||
};
|
||||
|
|
|
@ -11,6 +11,8 @@ pub use self::{
|
|||
chosen_inline_result::ChosenInlineResult,
|
||||
contact::Contact,
|
||||
document::Document,
|
||||
encrypted_credintials::EncryptedCredentials,
|
||||
encrypted_passport_element::{ElementType, EncryptedPassportElement},
|
||||
file::File,
|
||||
force_reply::ForceReply,
|
||||
game::Game,
|
||||
|
@ -54,6 +56,8 @@ pub use self::{
|
|||
message_entity::MessageEntity,
|
||||
order_info::OrderInfo,
|
||||
parse_mode::ParseMode,
|
||||
passport_data::PassportData,
|
||||
passport_file::PassportFile,
|
||||
photo_size::PhotoSize,
|
||||
poll::{Poll, PollOption},
|
||||
pre_checkout_query::PreCheckoutQuery,
|
||||
|
@ -76,11 +80,6 @@ pub use self::{
|
|||
video_note::VideoNote,
|
||||
voice::Voice,
|
||||
webhook_info::WebhookInfo,
|
||||
|
||||
encrypted_passport_element::{ElementType, EncryptedPassportElement},
|
||||
passport_data::PassportData,
|
||||
encrypted_credintials::EncryptedCredentials,
|
||||
passport_file::PassportFile,
|
||||
};
|
||||
|
||||
mod animation;
|
||||
|
@ -160,7 +159,7 @@ mod inline_query_result_venue;
|
|||
mod inline_query_result_video;
|
||||
mod inline_query_result_voice;
|
||||
|
||||
mod encrypted_credintials;
|
||||
mod encrypted_passport_element;
|
||||
mod passport_data;
|
||||
mod encrypted_credintials;
|
||||
mod passport_file;
|
||||
mod passport_file;
|
||||
|
|
|
@ -3,4 +3,4 @@ pub struct PassportFile {
|
|||
pub file_id: String,
|
||||
pub file_size: u64,
|
||||
pub file_date: u64,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue