twitter-types-0.6.0: Twitter JSON parser and types

Safe HaskellNone
LanguageHaskell98

Web.Twitter.Types

Synopsis

Documentation

data SearchResult body Source

Instances

Eq body => Eq (SearchResult body) 
Show body => Show (SearchResult body) 
FromJSON body => FromJSON (SearchResult body) 

data Delete Source

Constructors

Delete 

type EntityIndices = [Int] Source

The character positions the Entity was extracted from

This is experimental implementation. This may be replaced by more definite types.

data Entity a Source

Constructors

Entity 

Fields

entityBody :: a

The detail information of the specific entity types (HashTag, URL, User)

entityIndices :: EntityIndices

The character positions the Entity was extracted from

Instances

Eq a => Eq (Entity a) 
Show a => Show (Entity a) 
FromJSON a => FromJSON (Entity a) 

data URLEntity Source

Constructors

URLEntity 

Fields

ueURL :: URIString

The URL that was extracted

ueExpanded :: URIString

The fully resolved URL (only for t.co links)

ueDisplay :: Text

Not a URL but a string to display instead of the URL (only for t.co links)

data Place Source

This type represents a place, named locations with corresponding geo coordinates. See https://dev.twitter.com/docs/platform-objects/places.

data ImageSizeType Source

Image size type. This type is included in the API response of "/1.1/media/upload.json".