ski.gagar.vxutil.vertigram.methods.SendContact.kt Maven / Gradle / Ivy
The newest version!
package ski.gagar.vxutil.vertigram.methods
import ski.gagar.vertigram.annotations.TgMethod
import ski.gagar.vxutil.vertigram.throttling.HasChatId
import ski.gagar.vxutil.vertigram.throttling.Throttled
import ski.gagar.vxutil.vertigram.types.ChatId
import ski.gagar.vxutil.vertigram.types.Message
import ski.gagar.vxutil.vertigram.types.ReplyMarkup
import ski.gagar.vxutil.vertigram.types.ReplyParameters
@TgMethod
@Throttled
data class SendContact(
override val chatId: ChatId,
val phoneNumber: String,
val firstName: String,
val lastName: String? = null,
val vcard: String? = null,
val disableNotification: Boolean = false,
val protectContent: Boolean = false,
val replyMarkup: ReplyMarkup? = null,
// Since Telegram Bot Api 6.3
val messageThreadId: Long? = null,
// Since Telegram Bot API 7.0
val replyParameters: ReplyParameters? = null
) : JsonTgCallable(), HasChatId
© 2015 - 2025 Weber Informatics LLC | Privacy Policy