toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.buttons
/
KeyboardButtonRequestUsers
Keyboard
Button
Request
Users
@
Serializable
(
with
=
KeyboardButtonRequestUsers.Companion::class
)
sealed
interface
KeyboardButtonRequestUsers
Inheritors
Any
Common
Bot
Members
Types
Any
Link copied to clipboard
@
Serializable
data
class
Any
(
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
Bot
Link copied to clipboard
@
Serializable
data
class
Bot
(
val
requestId
:
RequestId
,
val
maxCount
:
Int
=
keyboardButtonRequestUserLimit.first
,
val
requestName
:
Boolean
?
=
null
,
val
requestUsername
:
Boolean
?
=
null
,
val
requestPhoto
:
Boolean
?
=
null
)
:
KeyboardButtonRequestUsers
Common
Link copied to clipboard
@
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
Companion
Link copied to clipboard
object
Companion
:
KSerializer
<
KeyboardButtonRequestUsers
>
Properties
is
Bot
Link copied to clipboard
abstract
val
isBot
:
Boolean
?
is
Premium
Link copied to clipboard
abstract
val
isPremium
:
Boolean
?
max
Count
Link copied to clipboard
abstract
val
maxCount
:
Int
request
Id
Link copied to clipboard
abstract
val
requestId
:
RequestId
request
Name
Link copied to clipboard
abstract
val
requestName
:
Boolean
?
request
Photo
Link copied to clipboard
abstract
val
requestPhoto
:
Boolean
?
request
Username
Link copied to clipboard
abstract
val
requestUsername
:
Boolean
?