LinkInfo

public struct LinkInfo : Codable

카카오스토리 포스팅을 위한 스크랩 API 응답 클래스 입니다.

Seealso

StoryApi.linkInfo(url:)

이 스크랩된 정보를 바탕으로 URL 링크를 포스팅 할 수 있습니다.

Seealso

StoryApi.postLink(content:linkInfo:permission:enableShare:androidExecParam:iosExecParam:androidMarketParam:iosMarketParam:)
  • url

    스크랩 한 주소의 URL. 단축 URL의 경우 resolution한 실제 URL

    Declaration

    Swift

    public let url: URL?
  • 요청시의 URL 원본. resolution을 하기 전의 URL

    Declaration

    Swift

    public let requestedUrl: URL?
  • 스크랩한 호스트 도메인

    Declaration

    Swift

    public let host: String?
  • 웹 페이지의 제목

    Declaration

    Swift

    public let title: String?
  • 웹 페이지의 대표 이미지 주소의 URL 배열. 최대 3개.

    Declaration

    Swift

    public let images: [URL]?
  • 웹 페이지의 설명

    Declaration

    Swift

    public let description: String?
  • 웹 페이지의 섹션 정보

    Declaration

    Swift

    public let section: String?
  • 웹 페이지의 콘텐츠 타입. 예) video, music, book, article, profile, website 등.

    Declaration

    Swift

    public let type: String?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws