Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data GetUserProfilePhotosRequest = GetUserProfilePhotosRequest {}
- type GetUserProfilePhotos = "getUserProfilePhotos" :> (ReqBody '[JSON] GetUserProfilePhotosRequest :> Post '[JSON] (Response UserProfilePhotos))
- getUserProfilePhotos :: GetUserProfilePhotosRequest -> ClientM (Response UserProfilePhotos)
getUserProfilePhotos
data GetUserProfilePhotosRequest Source #
Request parameters for getUserProfilePhotos
.
GetUserProfilePhotosRequest | |
|
Instances
FromJSON GetUserProfilePhotosRequest Source # | |
ToJSON GetUserProfilePhotosRequest Source # | |
Generic GetUserProfilePhotosRequest Source # | |
Defined in Telegram.Bot.API.Methods.GetUserProfilePhotos type Rep GetUserProfilePhotosRequest :: Type -> Type # | |
type Rep GetUserProfilePhotosRequest Source # | |
Defined in Telegram.Bot.API.Methods.GetUserProfilePhotos type Rep GetUserProfilePhotosRequest = D1 ('MetaData "GetUserProfilePhotosRequest" "Telegram.Bot.API.Methods.GetUserProfilePhotos" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "GetUserProfilePhotosRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "getUserProfilePhotosUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: (S1 ('MetaSel ('Just "getUserProfilePhotosOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "getUserProfilePhotosLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))))) |
type GetUserProfilePhotos = "getUserProfilePhotos" :> (ReqBody '[JSON] GetUserProfilePhotosRequest :> Post '[JSON] (Response UserProfilePhotos)) Source #
getUserProfilePhotos :: GetUserProfilePhotosRequest -> ClientM (Response UserProfilePhotos) Source #
Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.