fix: handle TweetWithVisibilityResults and rest_id fallback in CreateTweet response
This commit is contained in:
parent
9d847cd18e
commit
d5a47d4a67
2 changed files with 21 additions and 11 deletions
|
|
@ -7,7 +7,8 @@ import (
|
|||
)
|
||||
|
||||
type tweet struct {
|
||||
Core struct {
|
||||
RestID string `json:"rest_id"`
|
||||
Core struct {
|
||||
UserResults struct {
|
||||
Result struct {
|
||||
IsBlueVerified bool `json:"is_blue_verified"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue