fix file name

add struct: login,response_parameter
This commit is contained in:
fedechkin_alexey 2019-09-03 15:30:10 +07:00
parent 6de592fa6b
commit 57a4a60406
11 changed files with 16 additions and 0 deletions

View file

View file

@ -0,0 +1,9 @@
use serde::Deserialize;
#[derive(Debug, Deserialize, Hash, PartialEq, Eq)]
pub struct LoginUrl {
url: String,
forward_text: Option<String>,
bot_username: Option<String>,
request_write_access: Option<bool>,
}

View file

@ -0,0 +1,7 @@
use serde::Deserialize;
#[derive(Debug, Deserialize, Hash, PartialEq, Eq)]
pub struct ResponseParameters {
migrate_to_chat_id: Option<i64>,
retry_after: Option<i64>,
}