Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SetMyDefaultAdministratorRightsRequest = SetMyDefaultAdministratorRightsRequest {}
- type SetMyDefaultAdministratorRights = "setMyDefaultAdministratorRights" :> (ReqBody '[JSON] SetMyDefaultAdministratorRightsRequest :> Post '[JSON] (Response Bool))
- setMyDefaultAdministratorRights :: SetMyDefaultAdministratorRightsRequest -> ClientM (Response Bool)
setMyDefaultAdministratorRights
data SetMyDefaultAdministratorRightsRequest Source #
Request parameters for setMyDefaultAdministratorRights
.
SetMyDefaultAdministratorRightsRequest | |
|
Instances
type SetMyDefaultAdministratorRights = "setMyDefaultAdministratorRights" :> (ReqBody '[JSON] SetMyDefaultAdministratorRightsRequest :> Post '[JSON] (Response Bool)) Source #
setMyDefaultAdministratorRights :: SetMyDefaultAdministratorRightsRequest -> ClientM (Response Bool) Source #
Use this method to change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are are free to modify the list before adding the bot. Returns True
on success.