mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
add struct
This commit is contained in:
parent
b4cfb893e9
commit
ff2285890f
1 changed files with 7 additions and 0 deletions
7
src/core/types/contact.rs
Normal file
7
src/core/types/contact.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
struct Contact {
|
||||
phone_number: String,
|
||||
first_name: String,
|
||||
last_name: Option<String>,
|
||||
user_id: Option<i64>,
|
||||
vcard: Option<String>,
|
||||
}
|
Loading…
Reference in a new issue