Twitterchiver: {{.TwitterUsername}}
{{if .Query}}
Searching for: {{.Query}}
{{end}}
{{range .Tweets}}
{{$status := .Object}} {{if .Object.retweeted_status}} {{$status = .Object.retweeted_status}}
{{.Object.user.name}} (@{{.Object.user.screen_name}}) retweeted
{{end}}
{{$status.user.name}}
@{{$status.user.screen_name}}
·
{{.CreatedAtFriendly}}
{{call $.FormatTweetText $status.full_text $status}}
{{if .QuotedObject}}
{{.QuotedObject.user.name}}
@{{.QuotedObject.user.screen_name}} ·
{{.QuotedCreatedAtFriendly}}
{{if .QuotedObject.full_text}}{{.QuotedObject.full_text}}{{else}}{{.QuotedObject.text}}{{end}}
{{end}} {{if $status.extended_entities}}
{{range $entity := $status.extended_entities.media}}
{{if eq $entity.type "video"}}
{{with bestVariant $entity.video_info.variants}} {{if .}}
{{end}} {{end}}
{{else if eq $entity.type "gif"}}
{{with bestVariant $entity.video_info.variants}} {{if .}}
{{end}} {{end}}
{{else}}
{{end}}
{{end}}
{{end}}
{{end}}
{{if .NextTweetID}}
...next
{{end}}