ktgbotapi
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ktgbotapi
tgbotapi.core
/
dev.inmo.tgbotapi.requests.set
/
SetUserEmojiStatus
Set
User
Emoji
Status
@
Serializable
data
class
SetUserEmojiStatus
(
val
userId
:
UserId
,
val
customEmojiId
:
CustomEmojiId
,
val
expirationDate
:
TelegramDate
?
=
null
)
:
SimpleRequest
<
Boolean
>
Members
Constructors
Set
User
Emoji
Status
Link copied to clipboard
constructor
(
userId
:
UserId
,
customEmojiId
:
CustomEmojiId
,
expirationDate
:
TelegramDate
?
=
null
)
Properties
custom
Emoji
Id
Link copied to clipboard
@
SerialName
(
value
=
"emoji_status_custom_emoji_id"
)
val
customEmojiId
:
CustomEmojiId
expiration
Date
Link copied to clipboard
@
Serializable
(
with
=
TelegramDateSerializer::class
)
@
SerialName
(
value
=
"emoji_status_expiration_date"
)
val
expirationDate
:
TelegramDate
?
=
null
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
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