dataclass-only
/
com.github.omarmiatello.telegram
/
Contact
Contact
data class
Contact
(phone_number:
String
, first_name:
String
, last_name:
String
?, user_id:
Long
?, vcard:
String
?) :
TelegramModel
Content copied to clipboard
This object represents a phone contact.
Constructors
Properties
Constructors
Contact
Link copied to clipboard
fun
Contact
(phone_number:
String
, first_name:
String
, last_name:
String
? = null, user_id:
Long
? = null, vcard:
String
? = null)
Content copied to clipboard
Creates a
Contact
.
Properties
first_name
Link copied to clipboard
val
first_name
:
String
Content copied to clipboard
Contact's first name
last_name
Link copied to clipboard
val
last_name
:
String
? = null
Content copied to clipboard
Optional
.
phone_number
Link copied to clipboard
val
phone_number
:
String
Content copied to clipboard
Contact's phone number
user_id
Link copied to clipboard
val
user_id
:
Long
? = null
Content copied to clipboard
Optional
.
vcard
Link copied to clipboard
val
vcard
:
String
? = null
Content copied to clipboard
Optional
.