telegram-raw-api-0.1.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" Integer :> (QueryParam "offset" Integer :> (QueryParam "limit" Integer :> 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 Integer))) Source #

type GetChatMember = Base :> ("getChatMember" :> (QueryR "chat_id" ChatId :> (QueryR "user_id" Integer :> 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 #