Copyright | (c) Alexandre Moreno 2019 |
---|---|
License | BSD3 |
Maintainer | alexmorenocano@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Line.Bot.Webhook.Events
Description
Documentation
Instances
Eq Events Source # | |
Show Events Source # | |
Generic Events Source # | |
FromJSON Events Source # | |
type Rep Events Source # | |
Defined in Line.Bot.Webhook.Events type Rep Events = D1 (MetaData "Events" "Line.Bot.Webhook.Events" "line-bot-sdk-0.2.0.0-6W5hDi0BjoQ7BRPHeP41lQ" 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.Events type Rep Beacon = D1 (MetaData "Beacon" "Line.Bot.Webhook.Events" "line-bot-sdk-0.2.0.0-6W5hDi0BjoQ7BRPHeP41lQ" 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.Events type Rep Things = D1 (MetaData "Things" "Line.Bot.Webhook.Events" "line-bot-sdk-0.2.0.0-6W5hDi0BjoQ7BRPHeP41lQ" 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.Events | |
Show AccountLink Source # | |
Defined in Line.Bot.Webhook.Events Methods showsPrec :: Int -> AccountLink -> ShowS # show :: AccountLink -> String # showList :: [AccountLink] -> ShowS # | |
Generic AccountLink Source # | |
Defined in Line.Bot.Webhook.Events Associated Types type Rep AccountLink :: Type -> Type # | |
FromJSON AccountLink Source # | |
Defined in Line.Bot.Webhook.Events | |
type Rep AccountLink Source # | |
Defined in Line.Bot.Webhook.Events type Rep AccountLink = D1 (MetaData "AccountLink" "Line.Bot.Webhook.Events" "line-bot-sdk-0.2.0.0-6W5hDi0BjoQ7BRPHeP41lQ" 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.Events Methods (==) :: AccountLinkResult -> AccountLinkResult -> Bool # (/=) :: AccountLinkResult -> AccountLinkResult -> Bool # | |
Show AccountLinkResult Source # | |
Defined in Line.Bot.Webhook.Events Methods showsPrec :: Int -> AccountLinkResult -> ShowS # show :: AccountLinkResult -> String # showList :: [AccountLinkResult] -> ShowS # | |
Generic AccountLinkResult Source # | |
Defined in Line.Bot.Webhook.Events 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.Events Methods parseJSON :: Value -> Parser AccountLinkResult # parseJSONList :: Value -> Parser [AccountLinkResult] # | |
type Rep AccountLinkResult Source # | |