docs
Toggle table of contents
35.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
docs
docs
/
dev.inmo.tgbotapi.requests.gifts
/
GetUserGifts
Get
User
Gifts
@
Serializable
data
class
GetUserGifts
(
val
userId
:
UserId
,
val
excludeUnlimited
:
Boolean
=
false
,
val
excludeLimitedUpgradable
:
Boolean
=
false
,
val
excludeLimitedNonUpgradable
:
Boolean
=
false
,
val
excludeFromBlockchain
:
Boolean
=
false
,
val
excludeUnique
:
Boolean
=
false
,
val
sortByPrice
:
Boolean
=
false
,
val
offset
:
String
?
=
null
,
val
limit
:
Int
?
=
null
)
:
SimpleRequest
<
OwnedGifts
<
OwnedGift.Common
>
>
(
source
)
Members
Constructors
Get
User
Gifts
Link copied to clipboard
constructor
(
userId
:
UserId
,
excludeUnlimited
:
Boolean
=
false
,
excludeLimitedUpgradable
:
Boolean
=
false
,
excludeLimitedNonUpgradable
:
Boolean
=
false
,
excludeFromBlockchain
:
Boolean
=
false
,
excludeUnique
:
Boolean
=
false
,
sortByPrice
:
Boolean
=
false
,
offset
:
String
?
=
null
,
limit
:
Int
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
exclude
From
Blockchain
Link copied to clipboard
@
SerialName
(
value
=
"exclude_from_blockchain"
)
val
excludeFromBlockchain
:
Boolean
exclude
Limited
Non
Upgradable
Link copied to clipboard
@
SerialName
(
value
=
"exclude_limited_non_upgradable"
)
val
excludeLimitedNonUpgradable
:
Boolean
exclude
Limited
Upgradable
Link copied to clipboard
@
SerialName
(
value
=
"exclude_limited_upgradable"
)
val
excludeLimitedUpgradable
:
Boolean
exclude
Unique
Link copied to clipboard
@
SerialName
(
value
=
"exclude_unique"
)
val
excludeUnique
:
Boolean
exclude
Unlimited
Link copied to clipboard
@
SerialName
(
value
=
"exclude_unlimited"
)
val
excludeUnlimited
:
Boolean
limit
Link copied to clipboard
@
SerialName
(
value
=
"limit"
)
val
limit
:
Int
?
offset
Link copied to clipboard
@
SerialName
(
value
=
"offset"
)
val
offset
:
String
?
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
OwnedGifts
<
OwnedGift.Common
>
>
sort
By
Price
Link copied to clipboard
@
SerialName
(
value
=
"sort_by_price"
)
val
sortByPrice
:
Boolean
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
UserId
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String