telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Methods.GetMyDefaultAdministratorRights

Synopsis

getMyDefaultAdministratorRights

data GetMyDefaultAdministratorRightsRequest Source #

Request parameters for getMyDefaultAdministratorRights.

Constructors

GetMyDefaultAdministratorRightsRequest 

Fields

Instances

Instances details
FromJSON GetMyDefaultAdministratorRightsRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDefaultAdministratorRights

ToJSON GetMyDefaultAdministratorRightsRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDefaultAdministratorRights

Generic GetMyDefaultAdministratorRightsRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDefaultAdministratorRights

type Rep GetMyDefaultAdministratorRightsRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDefaultAdministratorRights

type Rep GetMyDefaultAdministratorRightsRequest = D1 ('MetaData "GetMyDefaultAdministratorRightsRequest" "Telegram.Bot.API.Methods.GetMyDefaultAdministratorRights" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "GetMyDefaultAdministratorRightsRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "getMyDefaultAdministratorRightsRequestForChannels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))

getMyDefaultAdministratorRights :: GetMyDefaultAdministratorRightsRequest -> ClientM (Response ChatAdministratorRights) Source #

Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.