mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-09-30 06:26:08 +00:00
2.4 KiB
2.4 KiB
//docs/dev.inmo.tgbotapi.requests.send.media/SendPhoto
SendPhoto
[common]
Content
fun SendPhoto(chatId: ChatIdentifier, photo: InputFile, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<PhotoContent>>
fun SendPhoto(chatId: ChatIdentifier, photo: InputFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<PhotoContent>>