PageBlockRelatedArticle
public struct PageBlockRelatedArticle : Codable, Equatable, FunctionResult
Contains information about a related article
-
Related article URL
Declaration
Swift
public let url: String
-
Article title; may be empty
Declaration
Swift
public let title: String
-
Article description; may be empty
Declaration
Swift
public let description: String
-
Article photo; may be null
Declaration
Swift
public let photo: Photo?
-
Article author; may be empty
Declaration
Swift
public let author: String
-
Point in time (Unix timestamp) when the article was published; 0 if unknown
Declaration
Swift
public let publishDate: Int32
-
Contains information about a related article
Declaration
Swift
public init(url: String, title: String, description: String, photo: Photo?, author: String, publishDate: Int32)
Parameters
url
Related article URL
title
Article title; may be empty
description
Article description; may be empty
photo
Article photo; may be null
author
Article author; may be empty
publishDate
Point in time (Unix timestamp) when the article was published; 0 if unknown