ktgbotapi
common
tgbotapi.core
/
dev.inmo.tgbotapi.requests.bot
/
SetMyDefaultAdministratorRights
Set
My
Default
Administrator
Rights
@
Serializable
class
SetMyDefaultAdministratorRights
(
val
rights
:
ChatAdministratorRightsImpl
,
val
forChannels
:
Boolean
?
=
null
)
:
SimpleRequest
<
Boolean
>
Members
Constructors
Set
My
Default
Administrator
Rights
Link copied to clipboard
constructor
(
rights
:
ChatAdministratorRightsImpl
,
forChannels
:
Boolean
?
=
null
)
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
for
Channels
Link copied to clipboard
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
val
rights
:
ChatAdministratorRightsImpl