mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-14 13:55:27 +00:00
20 lines
770 B
Kotlin
20 lines
770 B
Kotlin
package com.github.insanusmokrassar.TelegramBotAPI.types.InlineQueries.InputMessageContent
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonContactData
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.*
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.InlineQueries.abstracts.InputMessageContent
|
|
import kotlinx.serialization.*
|
|
|
|
@Serializable
|
|
data class InputContactMessageContent(
|
|
@SerialName(phoneNumberField)
|
|
override val phoneNumber: String,
|
|
@SerialName(firstNameField)
|
|
override val firstName: String,
|
|
@SerialName(lastNameField)
|
|
@Optional
|
|
override val lastName: String? = null,
|
|
@SerialName(vcardField)
|
|
@Optional
|
|
override val vcard: String? = null
|
|
) : CommonContactData, InputMessageContent |