toInputMediaPhoto

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