toTelegramMediaPhoto

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