1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-05 16:03:49 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.types.InputMedia/to-input-media-photo.md

13 lines
897 B
Markdown
Raw Normal View History

//[docs](../../index.md)/[dev.inmo.tgbotapi.types.InputMedia](index.md)/[toInputMediaPhoto](to-input-media-photo.md)
# toInputMediaPhoto
[common]
Content
fun [PhotoSize](../dev.inmo.tgbotapi.types.files/-photo-size/index.md).[toInputMediaPhoto](to-input-media-photo.md)(caption: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, parseMode: [ParseMode](../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null): [InputMediaPhoto](-input-media-photo/index.md)
fun [PhotoSize](../dev.inmo.tgbotapi.types.files/-photo-size/index.md).[toInputMediaPhoto](to-input-media-photo.md)(textSources: [TextSourcesList](../dev.inmo.tgbotapi.CommonAbstracts/index.md#%5Bdev.inmo.tgbotapi.CommonAbstracts%2FTextSourcesList%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081) = emptyList()): [InputMediaPhoto](-input-media-photo/index.md)