ktgbotapi
common
tgbotapi.core
/
dev.inmo.tgbotapi.types.buttons
/
KeyboardButtonRequestUser
Keyboard
Button
Request
User
@
Serializable
(
with
=
KeyboardButtonRequestUser.Companion::class
)
interface
KeyboardButtonRequestUser
Inheritors
Any
Common
Bot
Members
Types
Any
Link copied to clipboard
@
Serializable
data
class
Any
(
val
requestId
:
RequestId
)
:
KeyboardButtonRequestUser
Bot
Link copied to clipboard
@
Serializable
data
class
Bot
(
val
requestId
:
RequestId
)
:
KeyboardButtonRequestUser
Common
Link copied to clipboard
@
Serializable
data
class
Common
(
val
requestId
:
RequestId
,
val
isPremium
:
Boolean
?
=
null
)
:
KeyboardButtonRequestUser
Companion
Link copied to clipboard
@
Serializer
(
forClass
=
KeyboardButtonRequestUser::class
)
object
Companion
:
KSerializer
<
KeyboardButtonRequestUser
>
Properties
is
Bot
Link copied to clipboard
abstract
val
isBot
:
Boolean
?
request
Id
Link copied to clipboard
abstract
val
requestId
:
RequestId