begin implementing downloader functionality

This commit is contained in:
mykola2312 2024-02-18 18:27:51 +02:00
parent eb6411dff1
commit 8c8a4ad3ab
3 changed files with 3 additions and 0 deletions

1
src/dl.rs Normal file
View file

@ -0,0 +1 @@
pub mod download;

0
src/dl/download.rs Normal file
View file

View file

@ -10,6 +10,8 @@ use teloxide::dispatching::dialogue::InMemStorage;
use teloxide::dispatching::UpdateHandler; use teloxide::dispatching::UpdateHandler;
use teloxide::{prelude::*, update_listeners::Polling, utils::command::BotCommands}; use teloxide::{prelude::*, update_listeners::Polling, utils::command::BotCommands};
mod dl;
type State = (); type State = ();
type MyDialogue = Dialogue<State, InMemStorage<State>>; type MyDialogue = Dialogue<State, InMemStorage<State>>;