func (s *PremiumSearchService) Search30Days(params *PremiumSearchTweetParams, label string) (*PremiumSearch, *http.Response, error) {
	search := new(PremiumSearch)
	apiError := new(APIError)
	path := fmt.Sprintf("30day/%s.json", label)
	resp, err := s.sling.New().Get(path).QueryStruct(params).Receive(search, apiError)
	return search, resp, relevantError(err, *apiError)
}
Search30Days returns a collection of Tweets matching a search query from Tweets posted within the last 30 days.
https://developer.twitter.com/en/docs/tweets/search/api-reference/premium-search
package twitter
import (
	"fmt"
	"net/http"
	"github.com/dghubble/sling"
)
type PremiumSearch struct {
	Results           []Tweet            `json:"results"`
	Next              string             `json:"next"`
	RequestParameters *RequestParameters `json:"requestParameters"`
}
type RequestParameters struct {
	MaxResults int    `json:"maxResults"`
	FromDate   string `json:"fromDate"`
	ToDate     string `json:"toDate"`
}
type PremiumSearchCount struct {
	Results           []TweetCount            `json:"results"`
	TotalCount        int64                   `json:"totalCount"`
	RequestParameters *RequestCountParameters `json:"requestParameters"`
}
type RequestCountParameters struct {
	Bucket   string `json:"bucket"`
	FromDate string `json:"fromDate"`
	ToDate   string `json:"toDate"`
}
type TweetCount struct {
	TimePeriod string `json:"timePeriod"`
	Count      int64  `json:"count"`
}
type PremiumSearchService struct {
	sling *sling.Sling
}
func newPremiumSearchService(sling *sling.Sling) *PremiumSearchService {
	return &PremiumSearchService{
		sling: sling.Path("tweets/search/"),
	}
}
type PremiumSearchTweetParams struct {
	Query      string `url:"query,omitempty"`
	Tag        string `url:"tag,omitempty"`
	FromDate   string `url:"fromDate,omitempty"`
	ToDate     string `url:"toDate,omitempty"`
	MaxResults int    `url:"maxResults,omitempty"`
	Next       string `url:"next,omitempty"`
}
type PremiumSearchCountTweetParams struct {
	Query    string `url:"query,omitempty"`
	Tag      string `url:"tag,omitempty"`
	FromDate string `url:"fromDate,omitempty"`
	ToDate   string `url:"toDate,omitempty"`
	Bucket   string `url:"bucket,omitempty"`
	Next     string `url:"next,omitempty"`
}
func (s *PremiumSearchService) SearchFullArchive(params *PremiumSearchTweetParams, label string) (*PremiumSearch, *http.Response, error) {
	search := new(PremiumSearch)
	apiError := new(APIError)
	path := fmt.Sprintf("fullarchive/%s.json", label)
	resp, err := s.sling.New().Get(path).QueryStruct(params).Receive(search, apiError)
	return search, resp, relevantError(err, *apiError)
}