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

Telegram.Bot.API.Methods.GetUserProfilePhotos

Synopsis

getUserProfilePhotos

data GetUserProfilePhotosRequest Source #

Request parameters for getUserProfilePhotos.

Constructors

GetUserProfilePhotosRequest 

Fields

Instances

Instances details
FromJSON GetUserProfilePhotosRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetUserProfilePhotos

ToJSON GetUserProfilePhotosRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetUserProfilePhotos

Generic GetUserProfilePhotosRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetUserProfilePhotos

Associated Types

type Rep GetUserProfilePhotosRequest :: Type -> Type #

type Rep GetUserProfilePhotosRequest Source # 
Instance details

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)))))

getUserProfilePhotos :: GetUserProfilePhotosRequest -> ClientM (Response UserProfilePhotos) Source #

Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.