toInputMediaPhoto

fun PhotoSize.toInputMediaPhoto(caption: String? = null, parseMode: ParseMode? = null): InputMediaPhoto
fun PhotoSize.toInputMediaPhoto(textSources: TextSourcesList = emptyList()): InputMediaPhoto