1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-03 23:29:33 +00:00

fix: removed useless docs

This commit is contained in:
bpavuk
2025-04-13 16:37:07 +03:00
parent 314c8d9ad1
commit 03ea8dfe7f
6 changed files with 6 additions and 47 deletions

View File

@@ -7,14 +7,7 @@ import dev.inmo.tgbotapi.types.unlimitedGiftsField
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This object describes the types of gifts that can be gifted to a user or a chat.
*
* @param unlimitedGifts True, if unlimited regular gifts are accepted
* @param limitedGifts True, if limited regular gifts are accepted
* @param uniqueGifts True, if unique gifts or gifts that can be upgraded to unique for free are accepted
* @param premiumSubscription True, if a Telegram Premium subscription is accepted
*/
@Serializable
data class AcceptedGiftTypes(
@SerialName(unlimitedGiftsField)

View File

@@ -4,16 +4,7 @@ import dev.inmo.tgbotapi.types.*
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This object describes a unique gift that was upgraded from a regular gift.
*
* @param baseName Human-readable name of the regular gift from which this unique gift was upgraded
* @param name Unique name of the gift. This name can be used in `https://t.me/nft/...` links and story areas
* @param number Unique number of the upgraded gift among gifts upgraded from the same regular gift
* @param model Model of the gift
* @param symbol Symbol of the gift
* @param backdrop Backdrop of the gift
*/
@Serializable
data class UniqueGift(
@SerialName(baseNameField)

View File

@@ -6,13 +6,7 @@ import dev.inmo.tgbotapi.types.rarityPerMilleField
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This object describes the backdrop of a unique gift.
*
* @param name Name of the backdrop
* @param colors Colors of the backdrop
* @param rarityPerMille The number of unique gifts that receive this backdrop for every 1000 gifts upgraded
*/
@Serializable
data class UniqueGiftBackdrop(
@SerialName(nameField)

View File

@@ -8,14 +8,7 @@ import dev.inmo.tgbotapi.utils.RGBColor
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This object describes the colors of the backdrop of a unique gift.
*
* @param centerColor The color in the center of the backdrop in RGB format
* @param edgeColor The color on the edges of the backdrop in RGB format
* @param symbolColor The color to be applied to the symbol in RGB format
* @param textColor The color for the text on the backdrop in RGB format
*/
@Serializable
data class UniqueGiftBackdropColors(
@SerialName(centerColorField)

View File

@@ -7,13 +7,7 @@ import dev.inmo.tgbotapi.types.stickerField
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This object describes the model of a unique gift.
*
* @param name Name of the model
* @param sticker The sticker that represents the unique gift
* @param rarityPerMille The number of unique gifts that receive this model for every 1000 gifts upgraded
*/
@Serializable
data class UniqueGiftModel(
@SerialName(nameField)

View File

@@ -7,13 +7,7 @@ import dev.inmo.tgbotapi.types.stickerField
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This object describes the symbol shown on the pattern of a unique gift.
*
* @param name Name of the symbol
* @param sticker The sticker that represents the unique gift
* @param rarityPerMille The number of unique gifts that receive this model for every 1000 gifts upgraded
*/
@Serializable
data class UniqueGiftSymbol(
@SerialName(nameField)