1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2026-09-07 16:49:22 +00:00
Files
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.send.media/reply-with-photo.md
InsanusMokrassar b942627f12 deploy: 308fb9274b
2021-03-17 15:18:37 +00:00

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>