toTelegramMediaPhoto

fun PhotoSize.toTelegramMediaPhoto(text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, showCaptionAboveMedia: Boolean = false): TelegramMediaPhoto
fun PhotoSize.toTelegramMediaPhoto(textSources: TextSourcesList = emptyList(), spoilered: Boolean = false, showCaptionAboveMedia: Boolean = false): TelegramMediaPhoto