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

Telegram.Bot.API.Methods.GetMyDefaultAdministratorRights

Synopsis

getMyDefaultAdministratorRights

newtype 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-7.4.3-38UQu7GyDDHHZ1He0cP5zf" 'True) (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.