toTelegramMediaPhoto

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