Download teloxide-macros from 'ponos'

This commit is contained in:
Temirkhan Myrzamadi 2020-07-24 12:36:24 +06:00
parent 462b42c526
commit e6534ac1b8
2 changed files with 4 additions and 1 deletions

View file

@ -13,7 +13,7 @@ pretty_env_logger = "0.4.0"
smart-default = "0.6.0"
derive_more = "0.99.9"
teloxide = { path = "../../" }
teloxide-macros = { git = "http://github.com/teloxide/teloxide-macros", branch = "master" }
teloxide-macros = { git = "http://github.com/teloxide/teloxide-macros", branch = "ponos" }
[profile.release]
lto = true

View file

@ -37,10 +37,13 @@ pub enum Dialogue {
#[default]
#[handler(start)]
Start(StartState),
#[handler(receive_days_of_week)]
ReceiveDaysOfWeek(ReceiveDaysOfWeekState),
#[handler(receive_10x5_answer)]
Receive10x5Answer(Receive10x5AnswerState),
#[handler(receive_gandalf_alternative_name)]
ReceiveGandalfAlternativeName(ReceiveGandalfAlternativeNameState),
}