sendContact

suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, phoneNumber: String, firstName: String, lastName: String? = null, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, contact: Contact, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chat: Chat, phoneNumber: String, firstName: String, lastName: String? = null, threadId: MessageThreadId? = chat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chat: Chat, contact: Contact, threadId: MessageThreadId? = chat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>

Parameters