SendContact

data class SendContact(chatId: ChatIdentifier, phoneNumber: String, firstName: String, lastName: String?, disableNotification: Boolean, replyToMessageId: MessageIdentifier?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?) : SendMessageRequest<ContentMessage<ContactContent>> , ReplyingMarkupSendMessageRequest<ContentMessage<ContactContent>>

Constructors

SendContact
Link copied to clipboard
common
fun SendContact(chatId: ChatIdentifier, contact: Contact, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)

Functions

method
Link copied to clipboard
common
open override fun method(): String

Properties

allowSendingWithoutReply
Link copied to clipboard
common
open override val allowSendingWithoutReply: Boolean? = null
chatId
Link copied to clipboard
common
open override val chatId: ChatIdentifier
disableNotification
Link copied to clipboard
common
open override val disableNotification: Boolean = false
firstName
Link copied to clipboard
common
val firstName: String
lastName
Link copied to clipboard
common
val lastName: String? = null
phoneNumber
Link copied to clipboard
common
val phoneNumber: String
replyMarkup
Link copied to clipboard
common
open override val replyMarkup: KeyboardMarkup? = null
replyToMessageId
Link copied to clipboard
common
open override val replyToMessageId: MessageIdentifier? = null
requestSerializer
Link copied to clipboard
common
open override val requestSerializer: SerializationStrategy<*>
resultDeserializer
Link copied to clipboard
common
open override val resultDeserializer: DeserializationStrategy<ContentMessage<ContactContent>>