TwarrtData
public struct TwarrtData : ContentUsed to return a Twarrt‘s data.
Returned by:
- POST /api/v3/twitarr/create
- POST /api/v3/twitarr/ID/update
- POST /api/v3/twitarr/ID/image
- POST /api/v3/twitarr/ID/image/remove
- POST /api/v3/twitarr/ID/laugh
- POST /api/v3/twitarr/ID/like
- POST /api/v3/twitarr/ID/love
- POST /api/v3/twitarr/ID/unreact
- POST /api/v3/twitarr/ID/reply
- GET /api/v3/twitarr/bookmarks
- GET /api/v3/twitarr/likes
- GET /api/v3/twitarr/mentions
- GET /api/v3/twitarr/
- GET /api/v3/twitarr/barrel/ID
- GET /api/v3/twitarr/hashtag/#STRING
- GET /api/v3/twitarr/search/STRING
- GET /api/v3/twitarr/user
- GET /api/v3/twitarr/user/ID
See TwitarrController.twarrtCreateHandler(_:data:), TwitarrController.twarrtUpdateHandler(_:data:)
TwitarrController. imageHandler(_:data:), TwitarrController.imageRemoveHandler(_:)
TwitarrController.twarrtLaughHandler(_:), TwitarrController.twarrtLikeHandler(_:),
TwitarrController.twarrtLoveHandler(_:), TwitarrController.twarrtUnreactHandler(_:),
TwitarrController.replyHandler(_:data:), TwitarrController.bookmarksHandler(_:),
TwitarrController.likesHandler(_:), TwitarrController.mentionsHandler(_:),
TwitarrController.twarrtsHandler(_:), TwitarrController.twarrtsBarrelHandler(_:),
TwitarrController.twarrtsHashtagHandler(_:), TwitarrController.twarrtsSearchHandler(_:),
TwitarrController.twarrtsUserHandler(_:), TwitarrController.userHandler(_:).
- 
                  
                  The ID of the twarrt. DeclarationSwift var twarrtID: Int
- 
                  
                  The timestamp of the twarrt. DeclarationSwift var createdAt: Date
- 
                  
                  The twarrt’s author. DeclarationSwift var author: UserHeader
- 
                  
                  The text of the twarrt. DeclarationSwift var text: String
- 
                  
                  The filenames of the twarrt’s optional images. DeclarationSwift var images: [String]?
- 
                  
                  If this twarrt is part of a Reply Group, the ID of the group. If replyGroupID == twarrtID, this twarrt is the start of a Reply Group. If nil, there are no replies to this twarrt. DeclarationSwift var replyGroupID: Int?
- 
                  
                  Whether the current user has bookmarked the twarrt. DeclarationSwift var isBookmarked: Bool
- 
                  
                  The total number of LikeTypereactions on the twarrt.DeclarationSwift var likeCount: Int
- 
                  
                  DeclarationSwift init( twarrt: Twarrt, creator: UserHeader, isBookmarked: Bool, userLike: LikeType?, likeCount: Int, overrideQuarantine: Bool = false ) throws
 View on GitHub
            View on GitHub
           TwarrtData Structure Reference
      TwarrtData Structure Reference