docs

# sendPhoto

suspend fun TelegramBot . sendPhoto ( chatId: ChatIdentifier , fileId: InputFile , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
suspend fun TelegramBot . sendPhoto ( chat: Chat , fileId: InputFile , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
suspend fun TelegramBot . sendPhoto ( chatId: ChatIdentifier , photo: Photo , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
suspend fun TelegramBot . sendPhoto ( chat: Chat , photo: Photo , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
suspend fun TelegramBot . sendPhoto ( chatId: ChatIdentifier , photoSize: PhotoSize , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
suspend fun TelegramBot . sendPhoto ( chat: Chat , photoSize: PhotoSize , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . sendPhoto ( chatId: ChatIdentifier , fileId: InputFile , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . sendPhoto ( chat: Chat , fileId: InputFile , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . sendPhoto ( chatId: ChatIdentifier , photo: Photo , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . sendPhoto ( chat: Chat , photo: Photo , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . sendPhoto ( chatId: ChatIdentifier , photoSize: PhotoSize , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . sendPhoto ( chat: Chat , photoSize: PhotoSize , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard

## Parameters

replyMarkup

Some of KeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.replyKeyboard or dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builders for that param