-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstagram.go
41 lines (32 loc) · 1.06 KB
/
instagram.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package gometawebhooks
import (
"context"
)
type InstagramMessageHandler interface {
InstagramMessage(ctx context.Context, object Object, entry Entry, message MessagingMessage) error
}
type InstagramPostbackHandler interface {
InstagramPostback(ctx context.Context, object Object, entry Entry, postback MessagingPostback) error
}
type InstagramReferralHandler interface {
InstagramReferral(ctx context.Context, object Object, entry Entry, referral MessagingReferral) error
}
type InstagramMentionHandler interface {
InstagramMention(ctx context.Context, object Object, entry Entry, mention Mention) error
}
type InstagramStoryInsightsHandler interface {
InstagramStoryInsights(ctx context.Context, object Object, entry Entry, storyInsights StoryInsights) error
}
type InstagramChangesHandler interface {
InstagramMentionHandler
InstagramStoryInsightsHandler
}
type InstagramMessagingHandler interface {
InstagramMessageHandler
InstagramPostbackHandler
InstagramReferralHandler
}
type InstagramHandler interface {
InstagramChangesHandler
InstagramMessagingHandler
}