2018-09-13 10:18:59 +00:00
|
|
|
package lineobj
|
|
|
|
|
|
|
|
// EventObject -
|
|
|
|
type EventObject struct {
|
|
|
|
Source *SourceObject `json:"source" cc:"source"`
|
|
|
|
Type string `json:"type" cc:"type"`
|
2018-09-20 17:14:08 +00:00
|
|
|
Timestamp int64 `json:"timestamp" cc:"timestamp"`
|
2018-09-13 10:18:59 +00:00
|
|
|
ReplyToken string `json:"replyToken" cc:"replyToken"`
|
|
|
|
Message map[string]interface{} `json:"message" cc:"message"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// SourceObject -
|
|
|
|
type SourceObject struct {
|
|
|
|
Type string `json:"type" cc:"type"`
|
|
|
|
UserID string `json:"userId" cc:"userId"`
|
|
|
|
GroupID string `json:"groupId" cc:"groupId"`
|
|
|
|
}
|