packages feed

telegram-types-0.2.0 / src / Web / Telegram / Types / Lens.hs

{-# LANGUAGE DataKinds #-}{-# LANGUAGE FlexibleContexts #-}{-# LANGUAGE TypeApplications #-}module Web.Telegram.Types.Lens {-# DEPRECATED "Use labels from generics-lens instead" #-}  whereimport Control.Lensimport Data.Generics.ProductuserId :: HasField "userId" s t a b => Lens s t a buserId = field @"userId"isBot :: HasField "isBot" s t a b => Lens s t a bisBot = field @"isBot"firstName :: HasField "firstName" s t a b => Lens s t a bfirstName = field @"firstName"lastName :: HasField "lastName" s t a b => Lens s t a blastName = field @"lastName"userName :: HasField "userName" s t a b => Lens s t a buserName = field @"userName"languageCode :: HasField "languageCode" s t a b => Lens s t a blanguageCode = field @"languageCode"canJoinGroups :: HasField "canJoinGroups" s t a b => Lens s t a bcanJoinGroups = field @"canJoinGroups"canReadAllGroupMessages :: HasField "canReadAllGroupMessages" s t a b => Lens s t a bcanReadAllGroupMessages = field @"canReadAllGroupMessages"supportsInlineQueries :: HasField "supportsInlineQueries" s t a b => Lens s t a bsupportsInlineQueries = field @"supportsInlineQueries"metadata :: HasField "metadata" s t a b => Lens s t a bmetadata = field @"metadata"content :: HasField "content" s t a b => Lens s t a bcontent = field @"content"messageId :: HasField "messageId" s t a b => Lens s t a bmessageId = field @"messageId"from :: HasField "from" s t a b => Lens s t a bfrom = field @"from"date :: HasField "date" s t a b => Lens s t a bdate = field @"date"chat :: HasField "chat" s t a b => Lens s t a bchat = field @"chat"forwardFrom :: HasField "forwardFrom" s t a b => Lens s t a bforwardFrom = field @"forwardFrom"forwardFromChat :: HasField "forwardFromChat" s t a b => Lens s t a bforwardFromChat = field @"forwardFromChat"forwardFromMessageId :: HasField "forwardFromMessageId" s t a b => Lens s t a bforwardFromMessageId = field @"forwardFromMessageId"forwardSignature :: HasField "forwardSignature" s t a b => Lens s t a bforwardSignature = field @"forwardSignature"forwardSenderName :: HasField "forwardSenderName" s t a b => Lens s t a bforwardSenderName = field @"forwardSenderName"forwardDate :: HasField "forwardDate" s t a b => Lens s t a bforwardDate = field @"forwardDate"replyToMessage :: HasField "replyToMessage" s t a b => Lens s t a breplyToMessage = field @"replyToMessage"editDate :: HasField "editDate" s t a b => Lens s t a beditDate = field @"editDate"mediaGroupId :: HasField "mediaGroupId" s t a b => Lens s t a bmediaGroupId = field @"mediaGroupId"authorSignature :: HasField "authorSignature" s t a b => Lens s t a bauthorSignature = field @"authorSignature"replyMarkup :: HasField "replyMarkup" s t a b => Lens s t a breplyMarkup = field @"replyMarkup"text :: HasField "text" s t a b => Lens s t a btext = field @"text"entities :: HasField "entities" s t a b => Lens s t a bentities = field @"entities"audio :: HasField "audio" s t a b => Lens s t a baudio = field @"audio"document :: HasField "document" s t a b => Lens s t a bdocument = field @"document"animation :: HasField "animation" s t a b => Lens s t a banimation = field @"animation"game :: HasField "game" s t a b => Lens s t a bgame = field @"game"photo :: HasField "photo" s t a b => Lens s t a bphoto = field @"photo"sticker :: HasField "sticker" s t a b => Lens s t a bsticker = field @"sticker"video :: HasField "video" s t a b => Lens s t a bvideo = field @"video"voice :: HasField "voice" s t a b => Lens s t a bvoice = field @"voice"videoNote :: HasField "videoNote" s t a b => Lens s t a bvideoNote = field @"videoNote"contact :: HasField "contact" s t a b => Lens s t a bcontact = field @"contact"location :: HasField "location" s t a b => Lens s t a blocation = field @"location"venue :: HasField "venue" s t a b => Lens s t a bvenue = field @"venue"poll :: HasField "poll" s t a b => Lens s t a bpoll = field @"poll"newChatMembers :: HasField "newChatMembers" s t a b => Lens s t a bnewChatMembers = field @"newChatMembers"leftChatMember :: HasField "leftChatMember" s t a b => Lens s t a bleftChatMember = field @"leftChatMember"newChatPhoto :: HasField "newChatPhoto" s t a b => Lens s t a bnewChatPhoto = field @"newChatPhoto"deleteChatPhoto :: HasField "deleteChatPhoto" s t a b => Lens s t a bdeleteChatPhoto = field @"deleteChatPhoto"groupChatCreated :: HasField "groupChatCreated" s t a b => Lens s t a bgroupChatCreated = field @"groupChatCreated"supergroupChatCreated :: HasField "supergroupChatCreated" s t a b => Lens s t a bsupergroupChatCreated = field @"supergroupChatCreated"channelChatCreated :: HasField "channelChatCreated" s t a b => Lens s t a bchannelChatCreated = field @"channelChatCreated"migrateToChatId :: HasField "migrateToChatId" s t a b => Lens s t a bmigrateToChatId = field @"migrateToChatId"migrateFromChatId :: HasField "migrateFromChatId" s t a b => Lens s t a bmigrateFromChatId = field @"migrateFromChatId"pinnedMessage :: HasField "pinnedMessage" s t a b => Lens s t a bpinnedMessage = field @"pinnedMessage"invoice :: HasField "invoice" s t a b => Lens s t a binvoice = field @"invoice"successfulPayment :: HasField "successfulPayment" s t a b => Lens s t a bsuccessfulPayment = field @"successfulPayment"connectedWebsite :: HasField "connectedWebsite" s t a b => Lens s t a bconnectedWebsite = field @"connectedWebsite"passPortData :: HasField "passPortData" s t a b => Lens s t a bpassPortData = field @"passPortData"caption :: HasField "caption" s t a b => Lens s t a bcaption = field @"caption"captionEntities :: HasField "captionEntities" s t a b => Lens s t a bcaptionEntities = field @"captionEntities"chatId :: HasField "chatId" s t a b => Lens s t a bchatId = field @"chatId"chatType :: HasField "chatType" s t a b => Lens s t a bchatType = field @"chatType"title :: HasField "title" s t a b => Lens s t a btitle = field @"title"username :: HasField "username" s t a b => Lens s t a busername = field @"username"description :: HasField "description" s t a b => Lens s t a bdescription = field @"description"inviteLink :: HasField "inviteLink" s t a b => Lens s t a binviteLink = field @"inviteLink"permissions :: HasField "permissions" s t a b => Lens s t a bpermissions = field @"permissions"slowModeDelay :: HasField "slowModeDelay" s t a b => Lens s t a bslowModeDelay = field @"slowModeDelay"stickerSetName :: HasField "stickerSetName" s t a b => Lens s t a bstickerSetName = field @"stickerSetName"canSetStickerSet :: HasField "canSetStickerSet" s t a b => Lens s t a bcanSetStickerSet = field @"canSetStickerSet"canSendMessages :: HasField "canSendMessages" s t a b => Lens s t a bcanSendMessages = field @"canSendMessages"canSendMediaMessages :: HasField "canSendMediaMessages" s t a b => Lens s t a bcanSendMediaMessages = field @"canSendMediaMessages"canSendPolls :: HasField "canSendPolls" s t a b => Lens s t a bcanSendPolls = field @"canSendPolls"canSendOtherMesssages :: HasField "canSendOtherMesssages" s t a b => Lens s t a bcanSendOtherMesssages = field @"canSendOtherMesssages"canAddWebPagePreviews :: HasField "canAddWebPagePreviews" s t a b => Lens s t a bcanAddWebPagePreviews = field @"canAddWebPagePreviews"canChangeInfo :: HasField "canChangeInfo" s t a b => Lens s t a bcanChangeInfo = field @"canChangeInfo"canInviteUsers :: HasField "canInviteUsers" s t a b => Lens s t a bcanInviteUsers = field @"canInviteUsers"canPinMessages :: HasField "canPinMessages" s t a b => Lens s t a bcanPinMessages = field @"canPinMessages"smallFileId :: HasField "smallFileId" s t a b => Lens s t a bsmallFileId = field @"smallFileId"smallFileUniqueId :: HasField "smallFileUniqueId" s t a b => Lens s t a bsmallFileUniqueId = field @"smallFileUniqueId"bigFileId :: HasField "bigFileId" s t a b => Lens s t a bbigFileId = field @"bigFileId"bitFileUniqueId :: HasField "bitFileUniqueId" s t a b => Lens s t a bbitFileUniqueId = field @"bitFileUniqueId"user :: HasField "user" s t a b => Lens s t a buser = field @"user"status :: HasField "status" s t a b => Lens s t a bstatus = field @"status"customTitle :: HasField "customTitle" s t a b => Lens s t a bcustomTitle = field @"customTitle"untilDate :: HasField "untilDate" s t a b => Lens s t a buntilDate = field @"untilDate"canBeEdited :: HasField "canBeEdited" s t a b => Lens s t a bcanBeEdited = field @"canBeEdited"canPostMessages :: HasField "canPostMessages" s t a b => Lens s t a bcanPostMessages = field @"canPostMessages"canEditMessages :: HasField "canEditMessages" s t a b => Lens s t a bcanEditMessages = field @"canEditMessages"canDeleteMessages :: HasField "canDeleteMessages" s t a b => Lens s t a bcanDeleteMessages = field @"canDeleteMessages"canRestrictMembers :: HasField "canRestrictMembers" s t a b => Lens s t a bcanRestrictMembers = field @"canRestrictMembers"canPromoteMembers :: HasField "canPromoteMembers" s t a b => Lens s t a bcanPromoteMembers = field @"canPromoteMembers"isMember :: HasField "isMember" s t a b => Lens s t a bisMember = field @"isMember"fileId :: HasField "fileId" s t a b => Lens s t a bfileId = field @"fileId"fileUniqueId :: HasField "fileUniqueId" s t a b => Lens s t a bfileUniqueId = field @"fileUniqueId"fileSize :: HasField "fileSize" s t a b => Lens s t a bfileSize = field @"fileSize"width :: HasField "width" s t a b => Lens s t a bwidth = field @"width"height :: HasField "height" s t a b => Lens s t a bheight = field @"height"duration :: HasField "duration" s t a b => Lens s t a bduration = field @"duration"performer :: HasField "performer" s t a b => Lens s t a bperformer = field @"performer"mimeType :: HasField "mimeType" s t a b => Lens s t a bmimeType = field @"mimeType"thumb :: HasField "thumb" s t a b => Lens s t a bthumb = field @"thumb"phoneNumber :: HasField "phoneNumber" s t a b => Lens s t a bphoneNumber = field @"phoneNumber"vcard :: HasField "vcard" s t a b => Lens s t a bvcard = field @"vcard"longitude :: HasField "longitude" s t a b => Lens s t a blongitude = field @"longitude"latitude :: HasField "latitude" s t a b => Lens s t a blatitude = field @"latitude"address :: HasField "address" s t a b => Lens s t a baddress = field @"address"foursquareId :: HasField "foursquareId" s t a b => Lens s t a bfoursquareId = field @"foursquareId"foursquareType :: HasField "foursquareType" s t a b => Lens s t a bfoursquareType = field @"foursquareType"voterCount :: HasField "voterCount" s t a b => Lens s t a bvoterCount = field @"voterCount"pollId :: HasField "pollId" s t a b => Lens s t a bpollId = field @"pollId"question :: HasField "question" s t a b => Lens s t a bquestion = field @"question"options :: HasField "options" s t a b => Lens s t a boptions = field @"options"totalVoterCount :: HasField "totalVoterCount" s t a b => Lens s t a btotalVoterCount = field @"totalVoterCount"isClosed :: HasField "isClosed" s t a b => Lens s t a bisClosed = field @"isClosed"isAnonymous :: HasField "isAnonymous" s t a b => Lens s t a bisAnonymous = field @"isAnonymous"pollType :: HasField "pollType" s t a b => Lens s t a bpollType = field @"pollType"allowsMultipleAnswers :: HasField "allowsMultipleAnswers" s t a b => Lens s t a ballowsMultipleAnswers = field @"allowsMultipleAnswers"correctOptionId :: HasField "correctOptionId" s t a b => Lens s t a bcorrectOptionId = field @"correctOptionId"optionIds :: HasField "optionIds" s t a b => Lens s t a boptionIds = field @"optionIds"totalCount :: HasField "totalCount" s t a b => Lens s t a btotalCount = field @"totalCount"photos :: HasField "photos" s t a b => Lens s t a bphotos = field @"photos"filePath :: HasField "filePath" s t a b => Lens s t a bfilePath = field @"filePath"isAnimated :: HasField "isAnimated" s t a b => Lens s t a bisAnimated = field @"isAnimated"emoji :: HasField "emoji" s t a b => Lens s t a bemoji = field @"emoji"setName :: HasField "setName" s t a b => Lens s t a bsetName = field @"setName"maskPosition :: HasField "maskPosition" s t a b => Lens s t a bmaskPosition = field @"maskPosition"containsMasks :: HasField "containsMasks" s t a b => Lens s t a bcontainsMasks = field @"containsMasks"stickers :: HasField "stickers" s t a b => Lens s t a bstickers = field @"stickers"name :: HasField "name" s t a b => Lens s t a bname = field @"name"point :: HasField "point" s t a b => Lens s t a bpoint = field @"point"xShift :: HasField "xShift" s t a b => Lens s t a bxShift = field @"xShift"yShift :: HasField "yShift" s t a b => Lens s t a byShift = field @"yShift"scale :: HasField "scale" s t a b => Lens s t a bscale = field @"scale"retryAfter :: HasField "retryAfter" s t a b => Lens s t a bretryAfter = field @"retryAfter"command :: HasField "command" s t a b => Lens s t a bcommand = field @"command"