SendContact

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

Constructors

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

Functions

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

Properties

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