Tweet_Expansions - daneden/Twift GitHub Wiki

Tweet.Expansions

Available fields that can be expanded on Tweet objects

public enum Expansions: Expansion 

Inheritance

Expansion

Enumeration Cases

pollIds

Expands associated Poll objects

case pollIds(pollFields: Set<Poll.Field> = [])

mediaKeys

Expands associated Media objects

case mediaKeys(mediaFields: Set<Media.Field> = [])

authorId

Expands the User object of the Tweet author

case authorId(userFields: Set<User.Field> = [])

mentionedUsernames

Expands the User objects of any mentioned users

case mentionedUsernames(userFields: Set<User.Field> = [])

geoPlaceId

Expands the Place details of any tagged place

case geoPlaceId(placeFields: Set<Place.Field> = [])

inReplyToUserId

Expands the User object of the author of the tweet this tweet is replying to

case inReplyToUserId(userFields: Set<User.Field> = [])

referencedTweetsId

Expands tweets that are quoted in this Tweet

case referencedTweetsId

referencedTweetsAuthorId

Expands the User object of the author of the Tweet(s) this Tweet is referencing

case referencedTweetsAuthorId(userFields: Set<User.Field> = [])
⚠️ **GitHub.com Fallback** ⚠️