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

Telegram.Bot.API.Types.ChatPermissions

Synopsis

ChatPermissions

data ChatPermissions Source #

Describes actions that a non-administrator user is allowed to take in a chat.

Constructors

ChatPermissions 

Fields

Instances

Instances details
FromJSON ChatPermissions Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPermissions

ToJSON ChatPermissions Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPermissions

Generic ChatPermissions Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPermissions

Associated Types

type Rep ChatPermissions :: Type -> Type #

Show ChatPermissions Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPermissions

type Rep ChatPermissions Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPermissions

type Rep ChatPermissions = D1 ('MetaData "ChatPermissions" "Telegram.Bot.API.Types.ChatPermissions" "telegram-bot-api-6.7-8B5O9jcStFh8aacJiwZZeM" 'False) (C1 ('MetaCons "ChatPermissions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "chatPermissionsCanSendMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "chatPermissionsCanSendAudios") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "chatPermissionsCanSendDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "chatPermissionsCanSendPhotos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "chatPermissionsCanSendVideos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "chatPermissionsCanSendVideoNotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "chatPermissionsCanSendVoiceNotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "chatPermissionsCanSendPolls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "chatPermissionsCanSendOtherMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "chatPermissionsCanAddWebPagePreviews") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "chatPermissionsCanChangeInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "chatPermissionsCanInviteUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "chatPermissionsCanPinMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "chatPermissionsCanManageTopics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))))))