begin implementing downloader functionality
This commit is contained in:
parent
eb6411dff1
commit
8c8a4ad3ab
3 changed files with 3 additions and 0 deletions
1
src/dl.rs
Normal file
1
src/dl.rs
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
pub mod download;
|
||||||
0
src/dl/download.rs
Normal file
0
src/dl/download.rs
Normal 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>>;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue