Contact

fun Contact(phoneNumber: String, firstName: String, lastName: String? = null, userId: Int? = null, vcard: String? = null)

Parameters

phoneNumber

Contact's phone number

firstName

Contact's first name

lastName

Optional. Contact's last name

userId

Optional. Contact's user identifier in Telegram

vcard

Optional. Additional data about the contact in the form of a vCard