Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype GetMyDefaultAdministratorRightsRequest = GetMyDefaultAdministratorRightsRequest {}
- type GetMyDefaultAdministratorRights = "getMyDefaultAdministratorRights" :> (ReqBody '[JSON] GetMyDefaultAdministratorRightsRequest :> Post '[JSON] (Response ChatAdministratorRights))
- getMyDefaultAdministratorRights :: GetMyDefaultAdministratorRightsRequest -> ClientM (Response ChatAdministratorRights)
- defGetMyDefaultAdministratorRights :: GetMyDefaultAdministratorRightsRequest
getMyDefaultAdministratorRights
newtype GetMyDefaultAdministratorRightsRequest Source #
Request parameters for getMyDefaultAdministratorRights
.
GetMyDefaultAdministratorRightsRequest | |
|
Instances
type GetMyDefaultAdministratorRights = "getMyDefaultAdministratorRights" :> (ReqBody '[JSON] GetMyDefaultAdministratorRightsRequest :> Post '[JSON] (Response ChatAdministratorRights)) Source #
getMyDefaultAdministratorRights :: GetMyDefaultAdministratorRightsRequest -> ClientM (Response ChatAdministratorRights) Source #
Use this method to get the current default administrator rights of the bot.
Returns ChatAdministratorRights
on success.