| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Line.Bot.Webhook
Documentation
newtype ChannelSecret Source #
Constructors
| ChannelSecret | |
Fields | |
Instances
| IsString ChannelSecret Source # | |
Defined in Line.Bot.Webhook.Types Methods fromString :: String -> ChannelSecret # | |
Instances
| Eq Events Source # | |
| Show Events Source # | |
| Generic Events Source # | |
| FromJSON Events Source # | |
| type Rep Events Source # | |
Defined in Line.Bot.Webhook.Types type Rep Events = D1 (MetaData "Events" "Line.Bot.Webhook.Types" "line-bot-sdk-0.1.0.0-18xO8OfssWbAHwlPuRP9ku" False) (C1 (MetaCons "Events" PrefixI True) (S1 (MetaSel (Just "destination") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Id User)) :*: S1 (MetaSel (Just "events") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Event]))) | |
Constructors
| EventMessage | |
Fields
| |
| EventFollow | |
Fields
| |
| EventUnfollow | |
Fields
| |
| EventJoin | |
Fields
| |
| EventLeave | |
Fields
| |
| EventMemberJoined | |
Fields
| |
| EventMemberLeft | |
| EventPostback | |
Fields
| |
| EventBeacon | |
Fields
| |
| EventAccountLink | |
Fields
| |
| EventThings | |
Fields
| |
Instances
Constructors
| Text | |
| Image | |
Fields
| |
| Video | |
Fields
| |
| Audio | |
Fields
| |
| File | |
| Location | |
| Sticker | |
newtype EpochMilli Source #
Constructors
| EpochMilli | |
Fields
| |
Instances
Constructors
| SourceUser (Id User) | |
| SourceGroup (Id Group) (Maybe (Id User)) | |
| SourceRoom (Id Room) (Maybe (Id User)) |
Instances
| Eq Beacon Source # | |
| Show Beacon Source # | |
| Generic Beacon Source # | |
| FromJSON Beacon Source # | |
| type Rep Beacon Source # | |
Defined in Line.Bot.Webhook.Types type Rep Beacon = D1 (MetaData "Beacon" "Line.Bot.Webhook.Types" "line-bot-sdk-0.1.0.0-18xO8OfssWbAHwlPuRP9ku" False) (C1 (MetaCons "Beacon" PrefixI True) (S1 (MetaSel (Just "hwid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "eventType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BeaconEvent) :*: S1 (MetaSel (Just "dm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))) | |
data BeaconEvent Source #
Instances
Constructors
| Things | |
Fields
| |
Instances
| Eq Things Source # | |
| Show Things Source # | |
| Generic Things Source # | |
| FromJSON Things Source # | |
| type Rep Things Source # | |
Defined in Line.Bot.Webhook.Types type Rep Things = D1 (MetaData "Things" "Line.Bot.Webhook.Types" "line-bot-sdk-0.1.0.0-18xO8OfssWbAHwlPuRP9ku" False) (C1 (MetaCons "Things" PrefixI True) (S1 (MetaSel (Just "deviceId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "eventType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ThingsEvent))) | |
data ThingsEvent Source #
Instances
data AccountLink Source #
Constructors
| AccountLink | |
Fields
| |
Instances
| Eq AccountLink Source # | |
Defined in Line.Bot.Webhook.Types | |
| Show AccountLink Source # | |
Defined in Line.Bot.Webhook.Types Methods showsPrec :: Int -> AccountLink -> ShowS # show :: AccountLink -> String # showList :: [AccountLink] -> ShowS # | |
| Generic AccountLink Source # | |
Defined in Line.Bot.Webhook.Types Associated Types type Rep AccountLink :: Type -> Type # | |
| FromJSON AccountLink Source # | |
Defined in Line.Bot.Webhook.Types | |
| type Rep AccountLink Source # | |
Defined in Line.Bot.Webhook.Types type Rep AccountLink = D1 (MetaData "AccountLink" "Line.Bot.Webhook.Types" "line-bot-sdk-0.1.0.0-18xO8OfssWbAHwlPuRP9ku" False) (C1 (MetaCons "AccountLink" PrefixI True) (S1 (MetaSel (Just "nonce") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "result") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AccountLinkResult))) | |
data AccountLinkResult Source #
Instances
| Eq AccountLinkResult Source # | |
Defined in Line.Bot.Webhook.Types Methods (==) :: AccountLinkResult -> AccountLinkResult -> Bool # (/=) :: AccountLinkResult -> AccountLinkResult -> Bool # | |
| Show AccountLinkResult Source # | |
Defined in Line.Bot.Webhook.Types Methods showsPrec :: Int -> AccountLinkResult -> ShowS # show :: AccountLinkResult -> String # showList :: [AccountLinkResult] -> ShowS # | |
| Generic AccountLinkResult Source # | |
Defined in Line.Bot.Webhook.Types Associated Types type Rep AccountLinkResult :: Type -> Type # Methods from :: AccountLinkResult -> Rep AccountLinkResult x # to :: Rep AccountLinkResult x -> AccountLinkResult # | |
| FromJSON AccountLinkResult Source # | |
Defined in Line.Bot.Webhook.Types Methods parseJSON :: Value -> Parser AccountLinkResult # parseJSONList :: Value -> Parser [AccountLinkResult] # | |
| type Rep AccountLinkResult Source # | |
data LineReqBody (contentTypes :: [*]) (a :: *) Source #
Instances
| (AllCTUnrender list a, HasServer api context, HasContextEntry context ChannelSecret) => HasServer (LineReqBody list a :> api :: Type) context Source # | |
Defined in Line.Bot.Webhook Associated Types type ServerT (LineReqBody list a :> api) m :: Type # Methods route :: Proxy (LineReqBody list a :> api) -> Context context -> Delayed env (Server (LineReqBody list a :> api)) -> Router env # hoistServerWithContext :: Proxy (LineReqBody list a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (LineReqBody list a :> api) m -> ServerT (LineReqBody list a :> api) n # | |
| type ServerT (LineReqBody list a :> api :: Type) m Source # | |
Defined in Line.Bot.Webhook | |