mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
fix file name
add struct: login,response_parameter
This commit is contained in:
parent
6de592fa6b
commit
57a4a60406
11 changed files with 16 additions and 0 deletions
0
src/core/types/input_media.rs
Normal file
0
src/core/types/input_media.rs
Normal file
9
src/core/types/login_url.rs
Normal file
9
src/core/types/login_url.rs
Normal 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>,
|
||||||
|
}
|
7
src/core/types/response_paramter.rs
Normal file
7
src/core/types/response_paramter.rs
Normal 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>,
|
||||||
|
}
|
Loading…
Reference in a new issue