Last active
August 26, 2020 03:36
-
-
Save adibaulia/7506355dd6487915c11d2db6720ae908 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package models | |
| import "github.com/dghubble/go-twitter/twitter" | |
| type ( | |
| Request struct { | |
| Tweet string `json:"tweet,omitempty"` | |
| Crc_token string `json:"crc_token,omitempty" form:"crc_token" query:"crc_token"` | |
| } | |
| DMEvent struct { | |
| ForUserID string `json:"for_user_id"` | |
| DirectMessageEvents []twitter.DirectMessageEvent `json:"direct_message_events"` | |
| } | |
| DBStruct struct { | |
| Text string `json:"text"` | |
| } | |
| Message struct { | |
| SenderID string `json:"sender_id"` | |
| ID string `json:"id"` | |
| Message string `json:"message"` | |
| MediaID []int64 `json:"media_id"` | |
| } | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment