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

Telegram.Bot.API.Types.ChatAdministratorRights

Synopsis

ChatAdministratorRights

data ChatAdministratorRights Source #

Represents the rights of an administrator in a chat.

Constructors

ChatAdministratorRights 

Fields

Instances

Instances details
FromJSON ChatAdministratorRights Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatAdministratorRights

ToJSON ChatAdministratorRights Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatAdministratorRights

Generic ChatAdministratorRights Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatAdministratorRights

Associated Types

type Rep ChatAdministratorRights :: Type -> Type #

Show ChatAdministratorRights Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatAdministratorRights

type Rep ChatAdministratorRights Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatAdministratorRights

type Rep ChatAdministratorRights = D1 ('MetaData "ChatAdministratorRights" "Telegram.Bot.API.Types.ChatAdministratorRights" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "ChatAdministratorRights" 'PrefixI 'True) (((S1 ('MetaSel ('Just "chatAdministratorRightsIsAnonymous") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "chatAdministratorRightsCanManageChat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "chatAdministratorRightsCanDeleteMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "chatAdministratorRightsCanManageVideoChats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "chatAdministratorRightsCanRestrictMembers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "chatAdministratorRightsCanPromoteMembers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "chatAdministratorRightsCanChangeInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "chatAdministratorRightsCanInviteUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "chatAdministratorRightsCanPostMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "chatAdministratorRightsCanEditMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "chatAdministratorRightsCanPinMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "chatAdministratorRightsCanManageTopics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))))))