toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.requests.bot
/
SetMyDefaultAdministratorRights
Set
My
Default
Administrator
Rights
@
Serializable
class
SetMyDefaultAdministratorRights
(
val
rights
:
ChatCommonAdministratorRights
,
val
forChannels
:
Boolean
?
=
null
)
:
SimpleRequest
<
Boolean
>
Members
Constructors
Set
My
Default
Administrator
Rights
Link copied to clipboard
constructor
(
rights
:
ChatCommonAdministratorRights
,
forChannels
:
Boolean
?
=
null
)
Properties
for
Channels
Link copied to clipboard
@
SerialName
(
value
=
"for_channels"
)
val
forChannels
:
Boolean
?
=
null
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
Boolean
>
rights
Link copied to clipboard
@
SerialName
(
value
=
"rights"
)
val
rights
:
ChatCommonAdministratorRights
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String