telegram-raw-api-0.3.0: Servant bindings to the Telegram bot API

Safe HaskellNone
LanguageHaskell2010

Web.Telegram.API.Getting

Documentation

type GetMe = Base :> ("getMe" :> Get '[JSON] (ReqResult User)) Source #

type GetUserProfilePhotos = Base :> ("getUserProfilePhotos" :> (QueryR "user_id" Int :> (QueryParam "offset" Int :> (QueryParam "limit" Int :> Get '[JSON] (ReqResult UserProfilePhotos))))) Source #

type GetFile = Base :> ("getFile" :> (QueryR "file_id" Text :> Get '[JSON] (ReqResult File))) Source #

type GetChat = Base :> ("getChat" :> (QueryR "chat_id" ChatId :> Get '[JSON] (ReqResult Chat))) Source #

type GetChatAdministrators = Base :> ("getChatAdministrators" :> (QueryR "chat_id" ChatId :> Get '[JSON] (ReqResult [ChatMember]))) Source #

type GetChatMembersCount = Base :> ("getChatMembersCount" :> (QueryR "chat_id" ChatId :> Get '[JSON] (ReqResult Int))) Source #

type GetChatMember = Base :> ("getChatMember" :> (QueryR "chat_id" ChatId :> (QueryR "user_id" Int :> Get '[JSON] (ReqResult ChatMember)))) Source #

type GetMyCommands = Base :> ("getMyCommands" :> Get '[JSON] (ReqResult [BotCommand])) Source #

type GetStickerSet = Base :> ("getStickerSet" :> (QueryR "name" Text :> Get '[JSON] (ReqResult StickerSet))) Source #