1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-08 17:33:47 +00:00

make TelegramPaidMediaPhoto constructor public

This commit is contained in:
InsanusMokrassar 2024-07-10 16:31:33 +06:00
parent 8883a9ee51
commit 91a5340b23

View File

@ -16,7 +16,7 @@ import kotlinx.serialization.*
internal const val photoTelegramPaidMediaType = "photo" internal const val photoTelegramPaidMediaType = "photo"
@Serializable @Serializable
data class TelegramPaidMediaPhoto internal constructor( data class TelegramPaidMediaPhoto (
override val file: InputFile, override val file: InputFile,
) : VisualTelegramPaidMedia { ) : VisualTelegramPaidMedia {
override val type: String = photoTelegramPaidMediaType override val type: String = photoTelegramPaidMediaType