toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.buttons
/
KeyboardButtonRequestUsers
/
Common
Common
@
Serializable
data
class
Common
(
val
requestId
:
RequestId
,
val
isPremium
:
Boolean
?
=
null
,
val
maxCount
:
Int
=
keyboardButtonRequestUserLimit.first
,
val
requestName
:
Boolean
?
=
null
,
val
requestUsername
:
Boolean
?
=
null
,
val
requestPhoto
:
Boolean
?
=
null
)
:
KeyboardButtonRequestUsers
Members
Constructors
Common
Link copied to clipboard
constructor
(
requestId
:
RequestId
,
isPremium
:
Boolean
?
=
null
,
maxCount
:
Int
=
keyboardButtonRequestUserLimit.first
,
requestName
:
Boolean
?
=
null
,
requestUsername
:
Boolean
?
=
null
,
requestPhoto
:
Boolean
?
=
null
)
Properties
is
Bot
Link copied to clipboard
@
SerialName
(
value
=
"user_is_bot"
)
@
EncodeDefault
open
override
val
isBot
:
Boolean
=
false
is
Premium
Link copied to clipboard
@
SerialName
(
value
=
"user_is_premium"
)
open
override
val
isPremium
:
Boolean
?
=
null
max
Count
Link copied to clipboard
@
SerialName
(
value
=
"max_quantity"
)
open
override
val
maxCount
:
Int
request
Id
Link copied to clipboard
@
SerialName
(
value
=
"request_id"
)
open
override
val
requestId
:
RequestId
request
Name
Link copied to clipboard
@
SerialName
(
value
=
"request_name"
)
open
override
val
requestName
:
Boolean
?
=
null
request
Photo
Link copied to clipboard
@
SerialName
(
value
=
"request_photo"
)
open
override
val
requestPhoto
:
Boolean
?
=
null
request
Username
Link copied to clipboard
@
SerialName
(
value
=
"request_username"
)
open
override
val
requestUsername
:
Boolean
?
=
null