InputContactMessageContent

data class InputContactMessageContent(phoneNumber: String, firstName: String, lastName: String?, vcard: String?) : InputMessageContent

Represents the content of a contact message to be sent as the result of an inline query.

Parameters

phoneNumber

Contact's phone number

firstName

Contact's first name

lastName

Optional. Contact's last name

vcard

Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes

Constructors

InputContactMessageContent
Link copied to clipboard
common
fun InputContactMessageContent(phoneNumber: String, firstName: String, lastName: String? = null, vcard: String? = null)
Contact's phone number

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): String?
component4
Link copied to clipboard
common
operator fun component4(): String?
copy
Link copied to clipboard
common
fun copy(phoneNumber: String, firstName: String, lastName: String? = null, vcard: String? = null): InputContactMessageContent
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

firstName
Link copied to clipboard
common
val firstName: String
Contact's first name
lastName
Link copied to clipboard
common
val lastName: String? = null
Optional.
phoneNumber
Link copied to clipboard
common
val phoneNumber: String
Contact's phone number
vcard
Link copied to clipboard
common
val vcard: String? = null
Optional.