4.5 KiB
//docs/dev.inmo.tgbotapi.extensions.api.send.media/replyWithPhoto
replyWithPhoto
[common]
Content
inline suspend fun TelegramBot.replyWithPhoto(to: Message, fileId: InputFile, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(to: Message, photo: Photo, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(to: Message, fileId: InputFile, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(to: Message, photo: Photo, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>