License | MIT (see the file LICENSE) |
---|---|
Maintainer | Justin Leitgeb <justin@stackbuilders.com> |
Safe Haskell | None |
Language | Haskell2010 |
Web.Twitter.Types
Description
Types for working with the twitter API.
- data Tweet = Tweet {}
- data SimpleTweet = SimpleTweet {}
- data Link = Link {}
- data Entities = Entities {
- userEntities :: [UserEntity]
- urlEntities :: [URLEntity]
- mediaEntities :: [MediaEntity]
- data URLEntity = URLEntity {
- urlMessage :: String
- urlIndices :: BoundingIndices
- displayUrl :: String
- data UserEntity = UserEntity {
- screenName :: String
- userIndices :: BoundingIndices
- data MediaEntity = MediaEntity {
- mediaUrl :: String
- mediaIndices :: BoundingIndices
- displayMediaUrl :: String
Documentation
Represent a tweet as plain text
Constructors
Tweet | |
Represent a link as HTML
Constructors
Link | |
Represent a list of all tweet references
Constructors
Entities | |
Fields
|
Represent a url reference
Constructors
URLEntity | |
Fields
|
data UserEntity Source #
Represent a user reference
Constructors
UserEntity | |
Fields
|
Instances
data MediaEntity Source #
Represent a media reference
Constructors
MediaEntity | |
Fields
|
Instances