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:
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user