Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
Bot type
func (*Bot) SetMentioner ¶
SetMentioner sets mentioner instance
type Config ¶
type Config struct { UserID string ConsumerKey string ConsumerSecret string AccessToken string AccessTokenSecret string }
Config type
type Entities ¶
type Entities struct { Media []interface{} `json:"media"` Urls []interface{} `json:"urls"` UserMentions []interface{} `json:"user_mentions"` Symbols []interface{} `json:"symbols"` ExtendedEntities []interface{} `json:"extended_entities"` }
Entities type
type Tweet ¶
type Tweet struct { CreatedAt string `json:"created_at"` FavoriteCount int `json:"favorite_count"` Favorited bool `json:"favorited"` ID int64 `json:"id"` IDStr string `json:"id_str"` InReplyToScreenName string `json:"in_reply_to_screen_name"` InReplyToStatusID int64 `json:"in_reply_to_status_id"` InReplyToStatusIDStr string `json:"in_reply_to_status_id_str"` InReplyToUserID int64 `json:"in_reply_to_user_id"` InReplyToUserIDStr string `json:"in_reply_to_user_id_str"` Lang string `json:"lang"` RetweetCount int `json:"retweet_count"` Retweeted bool `json:"retweeted"` RetweetedStatus *Tweet `json:"retweeted_status"` Source string `json:"source"` Text string `json:"text"` User User `json:"user"` Entities Entities `json:"entities"` }
Tweet type
type User ¶
type User struct { CreatedAt string `json:"created_at"` Description string `json:"description"` FavouritesCount int `json:"favourites_count"` FollowRequestSent bool `json:"follow_request_sent"` FollowersCount int `json:"followers_count"` Following bool `json:"following"` FriendsCount int `json:"friends_count"` ID int64 `json:"id"` IDStr string `json:"id_str"` ListedCount int64 `json:"listed_count"` Location string `json:"location"` Name string `json:"name"` ProfileBannerURL string `json:"profile_banner_url"` ProfileImageURL string `json:"profile_image_url"` Protected bool `json:"protected"` ScreenName string `json:"screen_name"` Status *Tweet `json:"status"` StatusesCount int64 `json:"statuses_count"` URL string `json:"url"` Verified bool `json:"verified"` }
User type
Click to show internal directories.
Click to hide internal directories.