line-bot-sdk-0.5.2: Haskell SDK for LINE Messaging API

Copyright(c) Alexandre Moreno 2019
LicenseBSD3
Maintaineralexmorenocano@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Line.Bot.Internal.Endpoints

Description

 
Synopsis

Documentation

type ChannelAuth = AuthProtect "channel-access-token" Source #

Combinator for authenticating with the channel access token

type GetProfile' a = "v2" :> ("bot" :> ("profile" :> (Capture "userId" (Id User) :> (ChannelAuth :> Get '[JSON] a)))) Source #

type GetGroupMemberProfile' a = "v2" :> ("bot" :> ("group" :> (Capture "groupId" (Id Group) :> ("member" :> (Capture "userId" (Id User) :> (ChannelAuth :> Get '[JSON] a)))))) Source #

type LeaveGroup = "v2" :> ("bot" :> ("group" :> (Capture "groupId" (Id Group) :> ("leave" :> (ChannelAuth :> PostNoContent '[JSON] NoContent))))) Source #

type GetGroupMemberUserIds' a = "v2" :> ("bot" :> ("group" :> (Capture "groupId" (Id Group) :> ("members" :> ("ids" :> (QueryParam "start" String :> (ChannelAuth :> Get '[JSON] a))))))) Source #

type GetRoomMemberProfile' a = "v2" :> ("bot" :> ("room" :> (Capture "roomId" (Id Room) :> ("member" :> (Capture "userId" (Id User) :> (ChannelAuth :> Get '[JSON] a)))))) Source #

type LeaveRoom = "v2" :> ("bot" :> ("room" :> (Capture "roomId" (Id Room) :> ("leave" :> (ChannelAuth :> PostNoContent '[JSON] NoContent))))) Source #

type GetRoomMemberUserIds' a = "v2" :> ("bot" :> ("room" :> (Capture "roomId" (Id Room) :> ("members" :> ("ids" :> (QueryParam "start" String :> (ChannelAuth :> Get '[JSON] a))))))) Source #

type ReplyMessage' a = "v2" :> ("bot" :> ("message" :> ("reply" :> (ReqBody '[JSON] a :> (ChannelAuth :> PostNoContent '[JSON] NoContent))))) Source #

type PushMessage' a = "v2" :> ("bot" :> ("message" :> ("push" :> (ReqBody '[JSON] a :> (ChannelAuth :> PostNoContent '[JSON] NoContent))))) Source #

type MulticastMessage' a = "v2" :> ("bot" :> ("message" :> ("multicast" :> (ReqBody '[JSON] a :> (ChannelAuth :> PostNoContent '[JSON] NoContent))))) Source #

type BroadcastMessage' a = "v2" :> ("bot" :> ("message" :> ("broadcast" :> (ReqBody '[JSON] a :> (ChannelAuth :> PostNoContent '[JSON] NoContent))))) Source #

type GetContent = "v2" :> ("bot" :> ("message" :> (Capture "messageId" MessageId :> ("content" :> (ChannelAuth :> Get '[OctetStream] ByteString))))) Source #

type GetContentStream = "v2" :> ("bot" :> ("message" :> (Capture "messageId" MessageId :> ("content" :> (ChannelAuth :> StreamGet NoFraming OctetStream (SourceIO ByteString)))))) Source #

type GetReplyMessageCount' a b = "v2" :> ("bot" :> ("message" :> ("delivery" :> ("reply" :> (QueryParam' '[Required, Strict] "date" a :> (ChannelAuth :> Get '[JSON] b)))))) Source #

type GetPushMessageCount' a b = "v2" :> ("bot" :> ("message" :> ("delivery" :> ("push" :> (QueryParam' '[Required, Strict] "date" a :> (ChannelAuth :> Get '[JSON] b)))))) Source #

type GetMulticastMessageCount' a b = "v2" :> ("bot" :> ("message" :> ("delivery" :> ("multicast" :> (QueryParam' '[Required, Strict] "date" a :> (ChannelAuth :> Get '[JSON] b)))))) Source #

type GetBroadcastMessageCount' a b = "v2" :> ("bot" :> ("message" :> ("delivery" :> ("broadcast" :> (QueryParam' '[Required, Strict] "date" a :> (ChannelAuth :> Get '[JSON] b)))))) Source #

type GetMessageQuota' a = "v2" :> ("bot" :> ("message" :> ("quota" :> ("consumption" :> (ChannelAuth :> Get '[JSON] a))))) Source #

type IssueLinkToken' a = "v2" :> ("bot" :> ("user" :> (Capture "userId" (Id User) :> ("linkToken" :> (ChannelAuth :> Get '[JSON] a))))) Source #

type IssueChannelToken' a b = "v2" :> ("oauth" :> ("accessToken" :> (ReqBody '[FormUrlEncoded] a :> Post '[JSON] b))) Source #

type RevokeChannelToken' a = "v2" :> ("oauth" :> ("revoke" :> (ReqBody '[FormUrlEncoded] a :> Post '[JSON] NoContent))) Source #

type CreateRichMenu' a b = "v2" :> ("bot" :> ("richmenu" :> (ReqBody '[JSON] a :> (ChannelAuth :> PostNoContent '[JSON] b)))) Source #

type DeleteRichMenu' a = "v2" :> ("bot" :> ("richmenu" :> (Capture "richMenuId" a :> (ChannelAuth :> Delete '[JSON] NoContent)))) Source #

type GetRichMenu' a b = "v2" :> ("bot" :> ("richmenu" :> (Capture "richMenuId" a :> (ChannelAuth :> Get '[JSON] b)))) Source #

type UploadRichMenuImageJpg' a b = "v2" :> ("bot" :> ("richmenu" :> (Capture "richMenuId" a :> ("content" :> (ReqBody '[JPEG] b :> (ChannelAuth :> Post '[JSON] NoContent)))))) Source #

type GetRichMenuList' a = "v2" :> ("bot" :> ("richmenu" :> ("list" :> (ChannelAuth :> Get '[JSON] a)))) Source #

type SetDefaultRichMenu' a = "v2" :> ("bot" :> ("user" :> ("all" :> ("richmenu" :> (Capture "richMenuId" a :> (ChannelAuth :> PostNoContent '[JSON] NoContent)))))) Source #